invoiceninja/app/Console/Commands/Inspire.php

37 lines
611 B
PHP
Raw Normal View History

2017-01-30 21:40:43 +02:00
<?php
namespace InvoiceNinja\Console\Commands;
2015-03-12 10:44:39 +10:00
use Illuminate\Console\Command;
use Illuminate\Foundation\Inspiring;
/**
2017-01-30 21:40:43 +02:00
* Class Inspire.
*/
2017-01-30 18:05:31 +02:00
class Inspire extends Command
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'inspire';
2015-03-12 10:44:39 +10:00
2017-01-30 18:05:31 +02:00
/**
* The console command description.
*
* @var string
*/
protected $description = 'Display an inspiring quote';
2015-03-12 10:44:39 +10:00
2017-01-30 18:05:31 +02: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
}