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

34 lines
602 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-02-22 20:47:03 -06:00
class Inspire extends Command
{
/**
2015-05-13 13:44:43 -05:00
* The name and signature of the console command.
2015-02-22 20:47:03 -06:00
*
* @var string
*/
2015-05-13 13:44:43 -05:00
protected $signature = 'inspire';
2014-07-31 15:13:50 -05:00
2015-02-22 20:47:03 -06:00
/**
* The console command description.
*
* @var string
*/
protected $description = 'Display an inspiring quote';
2014-07-31 15:13:50 -05:00
2015-02-22 20:47:03 -06:00
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
}
2014-07-31 15:13:50 -05:00
}