2016-07-21 14:35:23 +02:00
|
|
|
<?php namespace InvoiceNinja\Console\Commands;
|
2015-03-12 01:44:39 +01:00
|
|
|
|
|
|
|
use Illuminate\Console\Command;
|
|
|
|
use Illuminate\Foundation\Inspiring;
|
|
|
|
|
2016-07-03 18:11:58 +02:00
|
|
|
/**
|
|
|
|
* Class Inspire
|
|
|
|
*/
|
2017-01-30 17:05:31 +01:00
|
|
|
class Inspire extends Command
|
|
|
|
{
|
2016-07-21 14:35:23 +02:00
|
|
|
|
2017-01-30 17:05:31 +01:00
|
|
|
/**
|
|
|
|
* The console command name.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $name = 'inspire';
|
2015-03-12 01:44:39 +01:00
|
|
|
|
2017-01-30 17:05:31 +01:00
|
|
|
/**
|
|
|
|
* The console command description.
|
|
|
|
*
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $description = 'Display an inspiring quote';
|
2015-03-12 01:44:39 +01:00
|
|
|
|
2017-01-30 17:05:31 +01:00
|
|
|
/**
|
|
|
|
* Execute the console command.
|
|
|
|
*
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function handle()
|
|
|
|
{
|
|
|
|
$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
|
|
|
|
}
|
2015-03-12 01:44:39 +01:00
|
|
|
}
|