@@ -7,15 +7,15 @@ |
||
| 7 | 7 | |
| 8 | 8 | class BroadcastServiceProvider extends ServiceProvider |
| 9 | 9 | { |
| 10 | - /** |
|
| 11 | - * Bootstrap any application services. |
|
| 12 | - * |
|
| 13 | - * @return void |
|
| 14 | - */ |
|
| 15 | - public function boot() |
|
| 16 | - { |
|
| 17 | - Broadcast::routes(['middleware' => ['auth:api']]); |
|
| 10 | + /** |
|
| 11 | + * Bootstrap any application services. |
|
| 12 | + * |
|
| 13 | + * @return void |
|
| 14 | + */ |
|
| 15 | + public function boot() |
|
| 16 | + { |
|
| 17 | + Broadcast::routes(['middleware' => ['auth:api']]); |
|
| 18 | 18 | |
| 19 | - require base_path('routes/channels.php'); |
|
| 20 | - } |
|
| 19 | + require base_path('routes/channels.php'); |
|
| 20 | + } |
|
| 21 | 21 | } |
@@ -9,38 +9,38 @@ |
||
| 9 | 9 | |
| 10 | 10 | class Kernel extends ConsoleKernel |
| 11 | 11 | { |
| 12 | - /** |
|
| 13 | - * The Artisan commands provided by your application. |
|
| 14 | - * |
|
| 15 | - * @var array |
|
| 16 | - */ |
|
| 17 | - protected $commands = [ |
|
| 18 | - GenerateDoc::class, |
|
| 19 | - MakeNotificationsCommand::class, |
|
| 20 | - UpdateTeachersWorkingHoursCommand::class |
|
| 21 | - ]; |
|
| 12 | + /** |
|
| 13 | + * The Artisan commands provided by your application. |
|
| 14 | + * |
|
| 15 | + * @var array |
|
| 16 | + */ |
|
| 17 | + protected $commands = [ |
|
| 18 | + GenerateDoc::class, |
|
| 19 | + MakeNotificationsCommand::class, |
|
| 20 | + UpdateTeachersWorkingHoursCommand::class |
|
| 21 | + ]; |
|
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Define the application's command schedule. |
|
| 25 | - * |
|
| 26 | - * @param \Illuminate\Console\Scheduling\Schedule $schedule |
|
| 27 | - * @return void |
|
| 28 | - */ |
|
| 29 | - protected function schedule(Schedule $schedule) |
|
| 30 | - { |
|
| 31 | - // $schedule->command('inspire') |
|
| 32 | - // ->hourly(); |
|
| 33 | - } |
|
| 23 | + /** |
|
| 24 | + * Define the application's command schedule. |
|
| 25 | + * |
|
| 26 | + * @param \Illuminate\Console\Scheduling\Schedule $schedule |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 29 | + protected function schedule(Schedule $schedule) |
|
| 30 | + { |
|
| 31 | + // $schedule->command('inspire') |
|
| 32 | + // ->hourly(); |
|
| 33 | + } |
|
| 34 | 34 | |
| 35 | - /** |
|
| 36 | - * Register the commands for the application. |
|
| 37 | - * |
|
| 38 | - * @return void |
|
| 39 | - */ |
|
| 40 | - protected function commands() |
|
| 41 | - { |
|
| 42 | - $this->load(__DIR__.'/Commands'); |
|
| 35 | + /** |
|
| 36 | + * Register the commands for the application. |
|
| 37 | + * |
|
| 38 | + * @return void |
|
| 39 | + */ |
|
| 40 | + protected function commands() |
|
| 41 | + { |
|
| 42 | + $this->load(__DIR__.'/Commands'); |
|
| 43 | 43 | |
| 44 | - require base_path('routes/console.php'); |
|
| 45 | - } |
|
| 44 | + require base_path('routes/console.php'); |
|
| 45 | + } |
|
| 46 | 46 | } |