| 1 | <?php |
||
| 13 | class BookingsServiceProvider extends ServiceProvider |
||
| 14 | { |
||
| 15 | use ConsoleTools; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The commands to be registered. |
||
| 19 | * |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $commands = [ |
||
| 23 | MigrateCommand::class => 'command.rinvex.bookings.migrate', |
||
| 24 | PublishCommand::class => 'command.rinvex.bookings.publish', |
||
| 25 | RollbackCommand::class => 'command.rinvex.bookings.rollback', |
||
| 26 | ]; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Register the application services. |
||
| 30 | * |
||
| 31 | * @return void |
||
| 32 | */ |
||
| 33 | public function register(): void |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Bootstrap the application services. |
||
| 43 | * |
||
| 44 | * @return void |
||
| 45 | */ |
||
| 46 | public function boot(): void |
||
| 53 | } |
||
| 54 |