From fee54645df4b2f361339d2729b8034a2171d113e Mon Sep 17 00:00:00 2001 From: SadeghPM Date: Tue, 24 Sep 2024 22:46:33 +0330 Subject: [PATCH] Create Kernel.php --- app/Console/Kernel.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app/Console/Kernel.php diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php new file mode 100644 index 0000000..d8bc1d2 --- /dev/null +++ b/app/Console/Kernel.php @@ -0,0 +1,32 @@ +command('inspire')->hourly(); + } + + /** + * Register the commands for the application. + * + * @return void + */ + protected function commands() + { + $this->load(__DIR__.'/Commands'); + + require base_path('routes/console.php'); + } +}