2014-10-20 11:14:41 -05:00
|
|
|
<?php namespace App\Console\Commands;
|
2014-07-31 15:13:50 -05:00
|
|
|
|
|
|
|
|
use Illuminate\Console\Command;
|
2014-08-01 00:46:47 -05:00
|
|
|
use Illuminate\Foundation\Inspiring;
|
2014-07-31 15:13:50 -05:00
|
|
|
use Symfony\Component\Console\Input\InputOption;
|
|
|
|
|
use Symfony\Component\Console\Input\InputArgument;
|
|
|
|
|
|
2015-01-07 15:29:01 -06:00
|
|
|
class Inspire extends Command {
|
2014-07-31 15:13:50 -05:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The console command name.
|
|
|
|
|
*
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
|
|
|
|
protected $name = 'inspire';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The console command description.
|
|
|
|
|
*
|
|
|
|
|
* @var string
|
|
|
|
|
*/
|
2014-09-02 19:48:55 -04:00
|
|
|
protected $description = 'Display an inspiring quote';
|
2014-07-31 15:13:50 -05:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Execute the console command.
|
|
|
|
|
*
|
|
|
|
|
* @return mixed
|
|
|
|
|
*/
|
2014-12-27 16:45:11 -06:00
|
|
|
public function handle()
|
2014-07-31 15:13:50 -05:00
|
|
|
{
|
2014-08-11 10:13:20 -05:00
|
|
|
$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
|
2014-07-31 15:13:50 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|