src/baseServiceProvider.php
protected function registerToAppConfig()
    {
        /*
         * Register the service provider for the dependencies.
         */
        $this->app->register(\Cartalyst\Sentinel\Laravel\SentinelServiceProvider::class);
        $this->app->register(\TomLingham\Searchy\SearchyServiceProvider::class);
        $this->app->register(\Jenssegers\Agent\AgentServiceProvider::class);
        $this->app->register(\Torann\GeoIP\GeoIPServiceProvider::class);

        /*
         * Create aliases for the dependencies.
         */
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
        $loader->alias('Schema', 'jlourenco\support\Database\Schema');
        $loader->alias('Activation', 'Cartalyst\Sentinel\Laravel\Facades\Activation');
        $loader->alias('Reminder', 'Cartalyst\Sentinel\Laravel\Facades\Reminder');
        $loader->alias('Sentinel', 'Cartalyst\Sentinel\Laravel\Facades\Sentinel');
        $loader->alias('Datatables', 'yajra\Datatables\Datatables');
        $loader->alias('SentinelUser', 'App\Http\Middleware\SentinelUser');
        $loader->alias('Base', 'jlourenco\base\Facades\Base');
        $loader->alias('Searchy', 'TomLingham\Searchy\Facades\Searchy');
        $loader->alias('Agent', 'Jenssegers\Agent\Facades\Agent');
        $loader->alias('GeoIP', 'Torann\GeoIP\GeoIPFacade');
    }
protected function registerToAppConfig()
    {
        /*
         * Register the service provider for the dependencies.
         */
        $this->app->register(\Cartalyst\Sentinel\Laravel\SentinelServiceProvider::class);
        $this->app->register(\TomLingham\Searchy\SearchyServiceProvider::class);
        $this->app->register(\Jenssegers\Agent\AgentServiceProvider::class);
        $this->app->register(\Torann\GeoIP\GeoIPServiceProvider::class);

        /*
         * Create aliases for the dependencies.
         */
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
        $loader->alias('Schema', 'jlourenco\support\Database\Schema');
        $loader->alias('Activation', 'Cartalyst\Sentinel\Laravel\Facades\Activation');
        $loader->alias('Reminder', 'Cartalyst\Sentinel\Laravel\Facades\Reminder');
        $loader->alias('Sentinel', 'Cartalyst\Sentinel\Laravel\Facades\Sentinel');
        $loader->alias('Datatables', 'yajra\Datatables\Datatables');
        $loader->alias('SentinelUser', 'App\Http\Middleware\SentinelUser');
        $loader->alias('Base', 'jlourenco\base\Facades\Base');
        $loader->alias('Searchy', 'TomLingham\Searchy\Facades\Searchy');
        $loader->alias('Agent', 'Jenssegers\Agent\Facades\Agent');
        $loader->alias('GeoIP', 'Torann\GeoIP\GeoIPFacade');
    }
protected function registerToAppConfig ( ) { /*
         * Register the service provider for the dependencies.
         */ $ this -> app -> register ( \ Cartalyst \ Sentinel \ Laravel \ SentinelServiceProvider :: class ) ; $ this -> app -> register ( \ TomLingham \ Searchy \ SearchyServiceProvider :: class ) ; $ this -> app -> register ( \ Jenssegers \ Agent \ AgentServiceProvider :: class ) ; $ this -> app -> register ( \ Torann \ GeoIP \ GeoIPServiceProvider :: class ) ; /*
         * Create aliases for the dependencies.
         */ $ loader = \ Illuminate \ Foundation \ AliasLoader :: getInstance ( ) ; $ loader -> alias ( 'Schema' , 'jlourenco\support\Database\Schema' ) ; $ loader -> alias ( 'Activation' , 'Cartalyst\Sentinel\Laravel\Facades\Activation' ) ; $ loader -> alias ( 'Reminder' , 'Cartalyst\Sentinel\Laravel\Facades\Reminder' ) ; $ loader -> alias ( 'Sentinel' , 'Cartalyst\Sentinel\Laravel\Facades\Sentinel' ) ; $ loader -> alias ( 'Datatables' , 'yajra\Datatables\Datatables' ) ; $ loader -> alias ( 'SentinelUser' , 'App\Http\Middleware\SentinelUser' ) ; $ loader -> alias ( 'Base' , 'jlourenco\base\Facades\Base' ) ; $ loader -> alias ( 'Searchy' , 'TomLingham\Searchy\Facades\Searchy' ) ; $ loader -> alias ( 'Agent' , 'Jenssegers\Agent\Facades\Agent' ) ; $ loader -> alias ( 'GeoIP' , 'Torann\GeoIP\GeoIPFacade' ) ; }
Registers this module to the
services providers and aliases.

@return void
Registers this module to the services providers and aliases .