Register the service provider.

@return void
332601
public function register()
    {
        // Load package config to allow use of values
        Config::package('antarctica/laravel-token-auth', __DIR__.'/../../config');

        // Register package dependencies' service providers and aliases (so the user doesn't have to in app/config/app.php)
        $loader = AliasLoader::getInstance();

        $this->app->register('Tymon\JWTAuth\JWTAuthServiceProvider');
        $loader->alias('JWTAuth', 'Tymon\JWTAuth\Facades\JWTAuth');

        // Register package interfaces with their corresponding implementations
        $this->app->bind(
            'Antarctica\LaravelTokenAuth\Service\Token\TokenServiceInterface',
            'Antarctica\LaravelTokenAuth\Service\Token\TokenServiceJwtAuth'
        );
        $this->app->bind(
            'Antarctica\LaravelTokenAuth\Service\TokenUser\TokenUserServiceInterface',
            'Antarctica\LaravelTokenAuth\Service\TokenUser\TokenUserService'
        );
        $this->app->bind(
            'Antarctica\LaravelTokenAuth\Repository\User\UserRepositoryInterface',
            Config::get('laravel-token-auth::user_repository')
        );
    }
698927
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/roles.php', 'roles');
        $this->loadMigrationsFrom(__DIR__.'/Database/Migrations');
        $this->publishFiles();
        $this->loadSeedsFrom();
    }
277613
public function register()
    {
        $this->mergeConfigFrom(
            __DIR__.'/config/config.php', 'laravel-ab'
        );
        $this->app->make('Illuminate\Contracts\Http\Kernel')->prependMiddleware('\ComoCode\LaravelAb\App\Http\Middleware\LaravelAbMiddleware');
        $this->app->bind('Ab', 'ComoCode\LaravelAb\App\Ab');
        $this->registerCompiler();
        $this->registerCommands();
    }
272983
public function register()
    {
        $this->core = app(Component::CORE);

        $this->registerSentinel()
             ->registerAuthRepository()
             ->registerCommands()
             ->publishMigrations();
    }
1180233
public function register(): void
    {
        if (!$this->registered) {
            \spl_autoload_register([$this, 'load'], true, true);
            $this->registered = true;
        }
    }
829044
public function register()
    {
        $this->app->singleton('log', function () {
            return $this->createLogger();
        });

        $this->app->alias('log', Log::class);
        $this->app->alias('log', LoggerInterface::class);
        $this->app->alias('log', Writer::class);
    }
722152
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'self-diagnosis');

        $this->app->bind('command.selfdiagnosis', SelfDiagnosisCommand::class);

        $this->commands([
            'command.selfdiagnosis',
        ]);
    }
1369821
public function register()
    {
        $this->registerModelBuilder();
        $this->registerMigrationBuilder();
        $this->registerFormBuilder();
        $this->registerCacheBuilder();
        $this->registerBuilderService();
    }
920608
public function register() : void
    {
        if ($this->getConfigParam('env') == 'prod') {
            ini_set('display_errors', 'Off');
        } else {
            ini_set('display_errors', 'On');
        }
        error_reporting(E_ALL);
        set_error_handler([$this, 'handleError']);
        set_exception_handler([$this, 'handleException']);
    }
465018
public function register() {
        $app = $this->app;
        $this->app->single($app->class, function ($app, $class) {
            $class = $app->namespace . '\\' . $class . '\\' . $class;
            return new $class($app);
        }, TRUE);
    }
224132
public function register() : void
    {
        $environment = $this->app->environment();

        $providers = $this->app['config']->get('app.' . $environment . '_providers', []);

        foreach ($providers as $provider) {
            $this->app->register($provider);
        }

        $facades = $this->app['config']->get('app.' . $environment . '_aliases', []);

        foreach ($facades as $class => $name) {
            AliasLoader::getInstance()->alias($class, $name);
        }
    }
297351
public function register()
    {
        $this->registerFileConfig();
        $this->registerDatabaseConfig();

        // Bind the concrete types
        $this->app->bind('Concrete\Core\Config\Repository\Repository', 'config');
        $this->app->bind('Illuminate\Config\Repository', 'Concrete\Core\Config\Repository\Repository');
    }
408964
public function register()
    {
        $this->app->singleton('CountryState', function () {
            return new CountryState(config('countrystate.limitCountries'), config('countrystate.preloadCountryStates'), config('countrystate.language'));
        });
        $this->mergeConfigFrom(__DIR__ . '/config/countrystate.php', 'countrystate');
    }
1188040
public function register()
    {
        $this->mergeConfigFrom(__DIR__.'/../config/server-monitor.php', 'server-monitor');

        $this->app['events']->subscribe(\EricMakesStuff\ServerMonitor\Notifications\EventHandler::class);

        $this->app->bind('command.monitor:run', RunCommand::class);

        $this->commands([
            'command.monitor:run',
        ]);

        $this->app->singleton(ConsoleOutput::class);
    }
1164661
public function register()
    {
        $this->loadRoutesFrom(__DIR__.'/routes/web.php');
        $this->loadViewsFrom(__DIR__.'/resources/views/', 'laravel2step');
        $this->loadMigrationsFrom(__DIR__.'/database/migrations');
        $this->mergeConfigFrom(__DIR__.'/config/laravel2step.php', 'laravel2step');
        $this->publishFiles();
    }
147672
public function register()
    {
        $this->mergeConfigFrom(
            $this->getBasePath() . '/config/admin.php',
            'admin'
        );

        $this->registerMiddleware();
        $this->registerFactory();
        $this->app->instance('admin.instance', new Admin($this->app));
        $this->app->bind(RepositoryInterface::class, Repository::class);
    }
1259699
public function register()
    {
        $this->registerAuthenticator();

        $this->registerPasswordService();

        $this->registerThrottleService();

        $this->registerUserResolver();

        $this->registerRequestRebindHandler();
    }