tethys/app/Console/Commands/Inspire.php

35 lines
594 B
PHP
Raw Normal View History

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