/** * Register the service provider. * * @return void */ public function register() { $app = parent::register(); $config = $app->make('config'); $app->singleton('fs', Filesystem::class); $this->registerStubs(); $this->registerHelpers(); }
/** * @inheritDoc */ public function provides() { $p = parent::provides(); if ($this->app['config']['blade_extensions.markdown.enabled']) { $p = array_merge($p, ['markdown', 'markdown.compiler']); } return $p; }
/** * Register bindings in the container. * * @return Application */ public function register() { $app = parent::register(); $this->registerFilters(); }