Files
spa-api/app/Console/Commands/Inspire.php

33 lines
511 B
PHP
Raw Normal View History

<?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
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
*/
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
}
}