Cartalyst\Sentinel\Laravel\SentinelServiceProvider::prepareResources PHP Method

prepareResources() protected method

Prepare the package resources.
protected prepareResources ( ) : void
return void
    protected function prepareResources()
    {
        // Publish config
        $config = realpath(__DIR__ . '/../config/config.php');
        $this->mergeConfigFrom($config, 'cartalyst.sentinel');
        $this->publishes([$config => config_path('cartalyst.sentinel.php')], 'config');
        // Publish migrations
        $migrations = realpath(__DIR__ . '/../migrations');
        $this->publishes([$migrations => $this->app->databasePath() . '/migrations'], 'migrations');
    }