tethys/app/Console/Commands/Inspire.php

35 lines
594 B
PHP
Raw Permalink Normal View History

<?php
namespace App\Console\Commands;
2015-07-19 06:49:24 +00:00
use Illuminate\Console\Command;
use Illuminate\Foundation\Inspiring;
class Inspire extends Command
{
2015-07-19 06:49:24 +00:00
/**
* The console command name.
*
* @var string
*/
protected $name = 'inspire';
2015-07-19 06:49:24 +00:00
/**
* The console command description.
*
* @var string
*/
protected $description = 'Display an inspiring quote';
2015-07-19 06:49:24 +00:00
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
2021-05-25 12:15:02 +00:00
return 0;
}
2015-07-19 06:49:24 +00:00
}