davide-casiraghi /
php-responsive-random-quote
| 1 | <?php |
||
| 2 | |||
| 3 | namespace DavideCasiraghi\PhpResponsiveRandomQuote\Console; |
||
| 4 | |||
| 5 | use Illuminate\Console\Command; |
||
| 6 | use DavideCasiraghi\PhpResponsiveRandomQuote\Facades\PhpResponsiveQuote; |
||
| 7 | |||
| 8 | class ResponsiveQuote extends Command |
||
| 9 | { |
||
| 10 | protected $signature = 'php-responsive-quote'; |
||
| 11 | |||
| 12 | protected $description = 'Output a responsive quote'; |
||
| 13 | |||
| 14 | 1 | public function handle() |
|
| 15 | { |
||
| 16 | 1 | $this->info(PhpResponsiveQuote::getRandomQuote()); |
|
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 17 | 1 | } |
|
| 18 | } |
||
| 19 |