invoiceninja/app/Console/Commands/Inspire.php

36 lines
545 B
PHP
Raw Normal View History

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