Working on new directory structure.

This commit is contained in:
Taylor Otwell
2014-08-11 10:13:20 -05:00
parent 8aa4a0a6dc
commit 6070d93c4a
25 changed files with 225 additions and 220 deletions

View File

@@ -0,0 +1,44 @@
<?php
use Illuminate\Console\Command;
use Illuminate\Foundation\Inspiring;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
class InspireCommand extends Command {
/**
* The console command name.
*
* @var string
*/
protected $name = 'inspire';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Display an inpiring quote';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function fire()
{
$this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
}
}