Inspire.php 611 Bytes
Newer Older
1
<?php namespace App\Console\Commands;
2 3

use Illuminate\Console\Command;
4
use Illuminate\Foundation\Inspiring;
5 6 7
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;

Taylor Otwell committed
8
class Inspire extends Command {
9 10 11 12 13 14 15 16 17 18 19 20 21

	/**
	 * The console command name.
	 *
	 * @var string
	 */
	protected $name = 'inspire';

	/**
	 * The console command description.
	 *
	 * @var string
	 */
ajschmaltz committed
22
	protected $description = 'Display an inspiring quote';
23 24 25 26 27 28

	/**
	 * Execute the console command.
	 *
	 * @return mixed
	 */
29
	public function handle()
30
	{
31
		$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
32 33 34
	}

}