12345678910111213141516171819202122232425262728293031323334 |
- <?php namespace App\Console\Commands;
- use Illuminate\Console\Command;
- use Illuminate\Foundation\Inspiring;
- use Symfony\Component\Console\Input\InputOption;
- use Symfony\Component\Console\Input\InputArgument;
- class InspireCommand extends Command {
-
- protected $name = 'inspire';
-
- protected $description = 'Display an inspiring quote';
-
- public function handle()
- {
- $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
- }
- }
|