![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/rentpix.corals.io/vendor/orchestra/canvas/src/ |
<?php namespace Orchestra\Canvas; use Illuminate\Contracts\Support\DeferrableProvider; use Illuminate\Database\Console\Factories\FactoryMakeCommand; use Illuminate\Database\Console\Migrations\MigrateMakeCommand; use Illuminate\Database\Console\Seeds\SeederMakeCommand; use Illuminate\Foundation\Console\CastMakeCommand; use Illuminate\Foundation\Console\ChannelMakeCommand; use Illuminate\Foundation\Console\ComponentMakeCommand; use Illuminate\Foundation\Console\ConsoleMakeCommand; use Illuminate\Foundation\Console\EventMakeCommand; use Illuminate\Foundation\Console\ExceptionMakeCommand; use Illuminate\Foundation\Console\JobMakeCommand; use Illuminate\Foundation\Console\ListenerMakeCommand; use Illuminate\Foundation\Console\MailMakeCommand; use Illuminate\Foundation\Console\ModelMakeCommand; use Illuminate\Foundation\Console\NotificationMakeCommand; use Illuminate\Foundation\Console\ObserverMakeCommand; use Illuminate\Foundation\Console\PolicyMakeCommand; use Illuminate\Foundation\Console\ProviderMakeCommand; use Illuminate\Foundation\Console\RequestMakeCommand; use Illuminate\Foundation\Console\ResourceMakeCommand; use Illuminate\Foundation\Console\RuleMakeCommand; use Illuminate\Foundation\Console\ScopeMakeCommand; use Illuminate\Foundation\Console\TestMakeCommand; use Illuminate\Notifications\Console\NotificationTableCommand; use Illuminate\Queue\Console\BatchesTableCommand; use Illuminate\Queue\Console\FailedTableCommand; use Illuminate\Queue\Console\TableCommand as QueueTableCommand; use Illuminate\Routing\Console\ControllerMakeCommand; use Illuminate\Routing\Console\MiddlewareMakeCommand; use Illuminate\Session\Console\SessionTableCommand; use Illuminate\Support\ServiceProvider; class LaravelServiceProvider extends ServiceProvider implements DeferrableProvider { /** * Register the service provider. * * @return void */ public function register() { $this->registerCastMakeCommand(); $this->registerChannelMakeCommand(); $this->registerComponentMakeCommand(); $this->registerConsoleMakeCommand(); $this->registerControllerMakeCommand(); $this->registerEventMakeCommand(); $this->registerExceptionMakeCommand(); $this->registerFactoryMakeCommand(); $this->registerJobMakeCommand(); $this->registerListenerMakeCommand(); $this->registerMailMakeCommand(); $this->registerMiddlewareMakeCommand(); $this->registerMigrateMakeCommand(); $this->registerModelMakeCommand(); $this->registerNotificationMakeCommand(); $this->registerObserverMakeCommand(); $this->registerPolicyMakeCommand(); $this->registerProviderMakeCommand(); $this->registerRequestMakeCommand(); $this->registerResourceMakeCommand(); $this->registerRuleMakeCommand(); $this->registerScopeMakeCommand(); $this->registerSeederMakeCommand(); $this->registerTestMakeCommand(); $this->registerNotificationTableCommand(); $this->registerQueueBatchesTableCommand(); $this->registerQueueFailedTableCommand(); $this->registerQueueTableCommand(); $this->registerSessionTableCommand(); $this->registerUserFactoryMakeCommand(); $this->registerUserModelMakeCommand(); $this->commands([ Console\CastMakeCommand::class, Console\ChannelMakeCommand::class, Console\ComponentMakeCommand::class, Console\ConsoleMakeCommand::class, Console\ControllerMakeCommand::class, Console\EventMakeCommand::class, Console\ExceptionMakeCommand::class, Console\FactoryMakeCommand::class, Console\JobMakeCommand::class, Console\ListenerMakeCommand::class, Console\MailMakeCommand::class, Console\MiddlewareMakeCommand::class, Console\MigrateMakeCommand::class, Console\ModelMakeCommand::class, Console\NotificationMakeCommand::class, Console\ObserverMakeCommand::class, Console\PolicyMakeCommand::class, Console\ProviderMakeCommand::class, Console\RequestMakeCommand::class, Console\ResourceMakeCommand::class, Console\RuleMakeCommand::class, Console\ScopeMakeCommand::class, Console\SeederMakeCommand::class, Console\TestMakeCommand::class, Console\BatchesTableCommand::class, Console\FailedTableCommand::class, Console\NotificationTableCommand::class, Console\QueueTableCommand::class, Console\SessionTableCommand::class, Console\UserFactoryMakeCommand::class, Console\UserModelMakeCommand::class, ]); } /** * Register the command. * * @return void */ protected function registerCastMakeCommand() { $this->app->singleton(CastMakeCommand::class, function ($app) { return new Console\CastMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerChannelMakeCommand() { $this->app->singleton(ChannelMakeCommand::class, function ($app) { return new Console\ChannelMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerComponentMakeCommand() { $this->app->singleton(ComponentMakeCommand::class, function ($app) { return new Console\ComponentMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerConsoleMakeCommand() { $this->app->singleton(ConsoleMakeCommand::class, function ($app) { return new Console\ConsoleMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerControllerMakeCommand() { $this->app->singleton(ControllerMakeCommand::class, function ($app) { return new Console\ControllerMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerEventMakeCommand() { $this->app->singleton(EventMakeCommand::class, function ($app) { return new Console\EventMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerExceptionMakeCommand() { $this->app->singleton(ExceptionMakeCommand::class, function ($app) { return new Console\ExceptionMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerFactoryMakeCommand() { $this->app->singleton(FactoryMakeCommand::class, function ($app) { return new Console\FactoryMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerJobMakeCommand() { $this->app->singleton(JobMakeCommand::class, function ($app) { return new Console\JobMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerListenerMakeCommand() { $this->app->singleton(ListenerMakeCommand::class, function ($app) { return new Console\ListenerMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerMailMakeCommand() { $this->app->singleton(MailMakeCommand::class, function ($app) { return new Console\MailMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerMiddlewareMakeCommand() { $this->app->singleton(MiddlewareMakeCommand::class, function ($app) { return new Console\MiddlewareMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerMigrateMakeCommand() { $this->app->singleton(MigrateMakeCommand::class, function ($app) { // Once we have the migration creator registered, we will create the command // and inject the creator. The creator is responsible for the actual file // creation of the migrations, and may be extended by these developers. $creator = $app['migration.creator']; $composer = $app['composer']; return new Console\MigrateMakeCommand($creator, $composer); }); } /** * Register the command. * * @return void */ protected function registerModelMakeCommand() { $this->app->singleton(ModelMakeCommand::class, function ($app) { return new Console\ModelMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerNotificationMakeCommand() { $this->app->singleton(NotificationMakeCommand::class, function ($app) { return new Console\NotificationMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerObserverMakeCommand() { $this->app->singleton(ObserverMakeCommand::class, function ($app) { return new Console\ObserverMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerPolicyMakeCommand() { $this->app->singleton(PolicyMakeCommand::class, function ($app) { return new Console\PolicyMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerProviderMakeCommand() { $this->app->singleton(ProviderMakeCommand::class, function ($app) { return new Console\ProviderMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerRequestMakeCommand() { $this->app->singleton(RequestMakeCommand::class, function ($app) { return new Console\RequestMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerResourceMakeCommand() { $this->app->singleton(ResourceMakeCommand::class, function ($app) { return new Console\ResourceMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerRuleMakeCommand() { $this->app->singleton(RuleMakeCommand::class, function ($app) { return new Console\RuleMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerScopeMakeCommand() { $this->app->singleton(ScopeMakeCommand::class, function ($app) { return new Console\ScopeMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerSeederMakeCommand() { $this->app->singleton(SeederMakeCommand::class, function ($app) { return new Console\SeederMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerTestMakeCommand() { $this->app->singleton(TestMakeCommand::class, function ($app) { return new Console\TestMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerNotificationTableCommand() { $this->app->singleton(NotificationTableCommand::class, function ($app) { return new Console\NotificationTableCommand($app['files'], $app['composer']); }); } /** * Register the command. * * @return void */ protected function registerQueueBatchesTableCommand() { $this->app->singleton(BatchesTableCommand::class, function ($app) { return new Console\BatchesTableCommand($app['files'], $app['composer']); }); } /** * Register the command. * * @return void */ protected function registerQueueFailedTableCommand() { $this->app->singleton(FailedTableCommand::class, function ($app) { return new Console\FailedTableCommand($app['files'], $app['composer']); }); } /** * Register the command. * * @return void */ protected function registerQueueTableCommand() { $this->app->singleton(QueueTableCommand::class, function ($app) { return new Console\QueueTableCommand($app['files'], $app['composer']); }); } /** * Register the command. * * @return void */ protected function registerSessionTableCommand() { $this->app->singleton(SessionTableCommand::class, function ($app) { return new Console\SessionTableCommand($app['files'], $app['composer']); }); } /** * Register the command. * * @return void */ protected function registerUserFactoryMakeCommand() { $this->app->singleton(Console\UserFactoryMakeCommand::class, function ($app) { return new Console\UserFactoryMakeCommand($app['files']); }); } /** * Register the command. * * @return void */ protected function registerUserModelMakeCommand() { $this->app->singleton(Console\UserModelMakeCommand::class, function ($app) { return new Console\UserModelMakeCommand($app['files']); }); } /** * Get the services provided by the provider. * * @return array */ public function provides() { return [ CastMakeCommand::class, Console\CastMakeCommand::class, ChannelMakeCommand::class, Console\ChannelMakeCommand::class, ComponentMakeCommand::class, Console\ComponentMakeCommand::class, ConsoleMakeCommand::class, Console\ConsoleMakeCommand::class, ControllerMakeCommand::class, Console\ControllerMakeCommand::class, EventMakeCommand::class, Console\EventMakeCommand::class, ExceptionMakeCommand::class, Console\ExceptionMakeCommand::class, FactoryMakeCommand::class, Console\FactoryMakeCommand::class, JobMakeCommand::class, Console\JobMakeCommand::class, ListenerMakeCommand::class, Console\ListenerMakeCommand::class, MailMakeCommand::class, Console\MailMakeCommand::class, MiddlewareMakeCommand::class, Console\MiddlewareMakeCommand::class, MigrateMakeCommand::class, Console\MigrateMakeCommand::class, ModelMakeCommand::class, Console\ModelMakeCommand::class, NotificationMakeCommand::class, Console\NotificationMakeCommand::class, ObserverMakeCommand::class, Console\ObserverMakeCommand::class, PolicyMakeCommand::class, Console\PolicyMakeCommand::class, ProviderMakeCommand::class, Console\ProviderMakeCommand::class, RequestMakeCommand::class, Console\RequestMakeCommand::class, ResourceMakeCommand::class, Console\ResourceMakeCommand::class, RuleMakeCommand::class, Console\RuleMakeCommand::class, ScopeMakeCommand::class, Console\ScopeMakeCommand::class, SeederMakeCommand::class, Console\SeederMakeCommand::class, TestMakeCommand::class, Console\TestMakeCommand::class, BatchesTableCommand::class, Console\BatchesTableCommand::class, FailedTableCommand::class, Console\FailedTableCommand::class, NotificationTableCommand::class, Console\NotificationTableCommand::class, QueueTableCommand::class, Console\QueueTableCommand::class, SessionTableCommand::class, Console\SessionTableCommand::class, Console\UserFactoryMakeCommand::class, Console\UserModelMakeCommand::class, ]; } }