⚝
One Hat Cyber Team
⚝
Your IP:
160.79.111.161
Server IP:
162.254.39.145
Server:
Linux premium289.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
Server Software:
LiteSpeed
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
favoaysf
/
www
/
vendor
/
laravel
/
sail
/
src
/
View File Name :
SailServiceProvider.php
<?php namespace Laravel\Sail; use Illuminate\Contracts\Support\DeferrableProvider; use Illuminate\Support\ServiceProvider; use Laravel\Sail\Console\AddCommand; use Laravel\Sail\Console\InstallCommand; use Laravel\Sail\Console\PublishCommand; class SailServiceProvider extends ServiceProvider implements DeferrableProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { $this->registerCommands(); $this->configurePublishing(); } /** * Register the console commands for the package. * * @return void */ protected function registerCommands() { if ($this->app->runningInConsole()) { $this->commands([ InstallCommand::class, AddCommand::class, PublishCommand::class, ]); } } /** * Configure publishing for the package. * * @return void */ protected function configurePublishing() { if ($this->app->runningInConsole()) { $this->publishes([ __DIR__ . '/../runtimes' => $this->app->basePath('docker'), ], ['sail', 'sail-docker']); $this->publishes([ __DIR__ . '/../bin/sail' => $this->app->basePath('sail'), ], ['sail', 'sail-bin']); $this->publishes([ __DIR__ . '/../database' => $this->app->basePath('docker'), ], ['sail', 'sail-database']); } } /** * Get the services provided by the provider. * * @return array */ public function provides() { return [ InstallCommand::class, PublishCommand::class, ]; } }