|
|
- <?php
-
- namespace App\Commands;
-
- use Illuminate\Console\Scheduling\Schedule;
- use LaravelZero\Framework\Commands\Command;
-
- class InspiringCommand extends Command
- {
- /**
- * The signature of the command.
- *
- * @var string
- */
- protected $signature = 'inspiring {name=Artisan}';
-
- /**
- * The description of the command.
- *
- * @var string
- */
- protected $description = 'Display an inspiring quote';
-
- /**
- * Execute the console command.
- *
- * @return mixed
- */
- public function handle()
- {
- $this->info('Simplicity is the ultimate sophistication.');
- }
-
- /**
- * Define the command's schedule.
- *
- * @param \Illuminate\Console\Scheduling\Schedule $schedule
- * @return void
- */
- public function schedule(Schedule $schedule)
- {
- // $schedule->command(static::class)->everyMinute();
- }
- }
|