Skip to content

Commit

Permalink
Merge pull request #358 from flaxandteal/feature/laravel5.5
Browse files Browse the repository at this point in the history
Switch fire to handle for L5.5 compatibility
  • Loading branch information
AlirezaAlgo authored Sep 7, 2017
2 parents 0f86b3e + ca28152 commit 1262c4f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function getDefaultNamespace($rootNamespace)
*
* @return void
*/
public function fire()
public function handle()
{
$name = $this->qualifyClass($this->getNameInput()) . 'Controller';

Expand Down
4 changes: 2 additions & 2 deletions src/Serverfireteam/Panel/Commands/CreateModelCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ protected function getStub()
* fire model and observer model class
* @return void
*/
public function fire()
public function handle()
{
parent::fire();
parent::handle();

$this->call('panel:createobserver', ['name' => $this->argument('name')]);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected function getDefaultNamespace($rootNamespace)
*
* @return void
*/
public function fire()
public function handle()
{
$name = $this->qualifyClass($this->getNameInput());

Expand Down
2 changes: 1 addition & 1 deletion src/Serverfireteam/Panel/Commands/CrudCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct()
* Execute the console command.
*
*/
public function fire()
public function handle()
{

$this->info(' [ ServerFireTeam Panel Crud Generator ] ');
Expand Down
2 changes: 1 addition & 1 deletion src/Serverfireteam/Panel/Commands/PanelCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct()
* Execute the console command.
*
*/
public function fire()
public function handle()
{
$this->info(' [ Welcome to ServerFireTeam Panel Installation ] ');

Expand Down

0 comments on commit 1262c4f

Please sign in to comment.