Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
38 additions
and 1 deletion.
@@ -0,0 +1,31 @@ | ||
<?php namespace Illuminate\Foundation\Console; | ||
|
||
use Illuminate\Console\Command; | ||
|
||
class ChangesCommand extends Command { | ||
|
||
/** | ||
* The console command name. | ||
* | ||
* @var string | ||
*/ | ||
protected $name = 'env'; | ||
|
||
/** | ||
* The console command description. | ||
* | ||
* @var string | ||
*/ | ||
protected $description = "Display the current framework environment"; | ||
|
||
/** | ||
* Execute the console command. | ||
* | ||
* @return void | ||
*/ | ||
public function fire() | ||
{ | ||
$this->line('<info>Current application environment:</info> <comment>'.$this->app['env'].'</comment>'); | ||
} | ||
|
||
} |