Skip to content

Commit 1262c4f

Browse files
author
Serverfire
authored
Merge pull request #358 from flaxandteal/feature/laravel5.5
Switch fire to handle for L5.5 compatibility
2 parents 0f86b3e + ca28152 commit 1262c4f

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/Serverfireteam/Panel/Commands/CreateControllerPanelCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function getDefaultNamespace($rootNamespace)
6060
*
6161
* @return void
6262
*/
63-
public function fire()
63+
public function handle()
6464
{
6565
$name = $this->qualifyClass($this->getNameInput()) . 'Controller';
6666

src/Serverfireteam/Panel/Commands/CreateModelCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ protected function getStub()
3939
* fire model and observer model class
4040
* @return void
4141
*/
42-
public function fire()
42+
public function handle()
4343
{
44-
parent::fire();
44+
parent::handle();
4545

4646
$this->call('panel:createobserver', ['name' => $this->argument('name')]);
4747
}

src/Serverfireteam/Panel/Commands/CreateModelObserverCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ protected function getDefaultNamespace($rootNamespace)
5151
*
5252
* @return void
5353
*/
54-
public function fire()
54+
public function handle()
5555
{
5656
$name = $this->qualifyClass($this->getNameInput());
5757

src/Serverfireteam/Panel/Commands/CrudCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct()
3232
* Execute the console command.
3333
*
3434
*/
35-
public function fire()
35+
public function handle()
3636
{
3737

3838
$this->info(' [ ServerFireTeam Panel Crud Generator ] ');

src/Serverfireteam/Panel/Commands/PanelCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct()
3333
* Execute the console command.
3434
*
3535
*/
36-
public function fire()
36+
public function handle()
3737
{
3838
$this->info(' [ Welcome to ServerFireTeam Panel Installation ] ');
3939

0 commit comments

Comments
 (0)