author | ymh <ymh.work@gmail.com> |
Thu, 03 Mar 2016 17:34:12 +0100 | |
changeset 137 | 1baa7c6bd370 |
parent 2 | 00e2916104fe |
permissions | -rw-r--r-- |
<?php namespace CorpusParole\Console\Commands; use Illuminate\Console\Command; use Illuminate\Foundation\Inspiring; class Inspire extends Command { /** * The console command name. * * @var string */ protected $name = 'inspire'; /** * The console command description. * * @var string */ protected $description = 'Display an inspiring quote'; /** * Execute the console command. * * @return mixed */ public function handle() { $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL); } }