server/src/app/Console/Commands/Inspire.php
changeset 1 01a844d292ac
child 2 00e2916104fe
equal deleted inserted replaced
0:279124b91971 1:01a844d292ac
       
     1 <?php namespace App\Console\Commands;
       
     2 
       
     3 use Illuminate\Console\Command;
       
     4 use Illuminate\Foundation\Inspiring;
       
     5 
       
     6 class Inspire extends Command {
       
     7 
       
     8 	/**
       
     9 	 * The console command name.
       
    10 	 *
       
    11 	 * @var string
       
    12 	 */
       
    13 	protected $name = 'inspire';
       
    14 
       
    15 	/**
       
    16 	 * The console command description.
       
    17 	 *
       
    18 	 * @var string
       
    19 	 */
       
    20 	protected $description = 'Display an inspiring quote';
       
    21 
       
    22 	/**
       
    23 	 * Execute the console command.
       
    24 	 *
       
    25 	 * @return mixed
       
    26 	 */
       
    27 	public function handle()
       
    28 	{
       
    29 		$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
       
    30 	}
       
    31 
       
    32 }