src/ChatterServiceProvider.php
public function register()
    {
        /*
         * Register the service provider for the dependency.
         */
        $this->app->register(\LukeTowers\Purifier\PurifierServiceProvider::class);

        /*
         * Create aliases for the dependency.
         */
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
        $loader->alias('Purifier', 'LukeTowers\Purifier\Facades\Purifier');

        $this->loadViewsFrom(__DIR__.'/Views', 'chatter');
    }
public function register()
    {
        /*
         * Register the service provider for the dependency.
         */
        $this->app->register(\LukeTowers\Purifier\PurifierServiceProvider::class);

        /*
         * Create aliases for the dependency.
         */
        $loader = \Illuminate\Foundation\AliasLoader::getInstance();
        $loader->alias('Purifier', 'LukeTowers\Purifier\Facades\Purifier');

        $this->loadViewsFrom(__DIR__.'/Views', 'chatter');
    }
public function register ( ) { /*
         * Register the service provider for the dependency.
         */ $ this -> app -> register ( \ LukeTowers \ Purifier \ PurifierServiceProvider :: class ) ; /*
         * Create aliases for the dependency.
         */ $ loader = \ Illuminate \ Foundation \ AliasLoader :: getInstance ( ) ; $ loader -> alias ( 'Purifier' , 'LukeTowers\Purifier\Facades\Purifier' ) ; $ this -> loadViewsFrom ( __DIR__ . '/Views' , 'chatter' ) ; }
Register the application services.

@return void
Register the application services .