/home/techb158/ileadtechnology.com/SSM/vendor/laravel/telescope/src
NameSizeModeActions
Console/-0755rm
Contracts/-0755rm
Http/-0755rm
Storage/-0755rm
Watchers/-0755rm
AuthorizesRequests.php8170644editdlrm
EntryResult.php22030644editdlrm
EntryType.php6270644editdlrm
EntryUpdate.php19600644editdlrm
ExceptionContext.php12820644editdlrm
ExtractProperties.php11980644editdlrm
ExtractsMailableTags.php6460644editdlrm
ExtractTags.php51010644editdlrm
FormatModel.php3770644editdlrm
IncomingDumpEntry.php15470644editdlrm
IncomingEntry.php54780644editdlrm
IncomingExceptionEntry.php12900644editdlrm
ListensForStorageOpportunities.php27160644editdlrm
RegistersWatchers.php11890644editdlrm
Telescope.php174720644editdlrm
TelescopeApplicationServiceProvider.php11900644editdlrm
TelescopeServiceProvider.php46270644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/laravel/telescope/src/TelescopeServiceProvider.php (4627B)
registerRoutes(); $this->registerMigrations(); $this->registerPublishing(); Telescope::start($this->app); Telescope::listenForStorageOpportunities($this->app); $this->loadViewsFrom( __DIR__.'/../resources/views', 'telescope' ); } /** * Register the package routes. * * @return void */ private function registerRoutes() { Route::group($this->routeConfiguration(), function () { $this->loadRoutesFrom(__DIR__.'/Http/routes.php'); }); } /** * Get the Telescope route group configuration array. * * @return array */ private function routeConfiguration() { return [ 'domain' => config('telescope.domain', null), 'namespace' => 'Laravel\Telescope\Http\Controllers', 'prefix' => config('telescope.path'), 'middleware' => 'telescope', ]; } /** * Register the package's migrations. * * @return void */ private function registerMigrations() { if ($this->app->runningInConsole() && $this->shouldMigrate()) { $this->loadMigrationsFrom(__DIR__.'/Storage/migrations'); } } /** * Register the package's publishable resources. * * @return void */ private function registerPublishing() { if ($this->app->runningInConsole()) { $this->publishes([ __DIR__.'/Storage/migrations' => database_path('migrations'), ], 'telescope-migrations'); $this->publishes([ __DIR__.'/../public' => public_path('vendor/telescope'), ], 'telescope-assets'); $this->publishes([ __DIR__.'/../config/telescope.php' => config_path('telescope.php'), ], 'telescope-config'); $this->publishes([ __DIR__.'/../stubs/TelescopeServiceProvider.stub' => app_path('Providers/TelescopeServiceProvider.php'), ], 'telescope-provider'); } } /** * Register any package services. * * @return void */ public function register() { $this->mergeConfigFrom( __DIR__.'/../config/telescope.php', 'telescope' ); $this->registerStorageDriver(); $this->commands([ Console\ClearCommand::class, Console\InstallCommand::class, Console\PruneCommand::class, Console\PublishCommand::class, ]); } /** * Register the package storage driver. * * @return void */ protected function registerStorageDriver() { $driver = config('telescope.driver'); if (method_exists($this, $method = 'register'.ucfirst($driver).'Driver')) { $this->$method(); } } /** * Register the package database storage driver. * * @return void */ protected function registerDatabaseDriver() { $this->app->singleton( EntriesRepository::class, DatabaseEntriesRepository::class ); $this->app->singleton( ClearableRepository::class, DatabaseEntriesRepository::class ); $this->app->singleton( PrunableRepository::class, DatabaseEntriesRepository::class ); $this->app->when(DatabaseEntriesRepository::class) ->needs('$connection') ->give(config('telescope.storage.database.connection')); $this->app->when(DatabaseEntriesRepository::class) ->needs('$chunkSize') ->give(config('telescope.storage.database.chunk')); } /** * Determine if we should register the migrations. * * @return bool */ protected function shouldMigrate() { return Telescope::$runsMigrations && config('telescope.driver') === 'database'; } }