1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- 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 inpiring quote.';
-
- public function __construct()
- {
- parent::__construct();
- }
-
- public function fire()
- {
- $this->info(Inspiring::quote());
- }
- }
|