Skip to content

Commit

Permalink
Merge branch '4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
santigarcor committed Jul 26, 2017
2 parents b68e9ea + 5a029a4 commit bfc5d45
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 36 deletions.
2 changes: 1 addition & 1 deletion src/commands/AddLaratrustUserTraitUseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class AddLaratrustUserTraitUseCommand extends Command
*
* @return void
*/
public function fire()
public function handle()
{
$models = $this->getUserModels() ;

Expand Down
10 changes: 0 additions & 10 deletions src/commands/MakePermissionCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@ class MakePermissionCommand extends GeneratorCommand
*/
protected $type = 'Permission model';

/**
* Execute the console command.
*
* @return void
*/
public function fire()
{
parent::fire();
}

/**
* Get the stub file for the generator.
*
Expand Down
10 changes: 0 additions & 10 deletions src/commands/MakeRoleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@ class MakeRoleCommand extends GeneratorCommand
*/
protected $type = 'Role model';

/**
* Execute the console command.
*
* @return void
*/
public function fire()
{
parent::fire();
}

/**
* Get the stub file for the generator.
*
Expand Down
2 changes: 1 addition & 1 deletion src/commands/MakeSeederCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class MakeSeederCommand extends Command
*
* @return void
*/
public function fire()
public function handle()
{
$this->laravel->view->addNamespace('laratrust', substr(__DIR__, 0, -8).'views');

Expand Down
10 changes: 0 additions & 10 deletions src/commands/MakeTeamCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,6 @@ class MakeTeamCommand extends GeneratorCommand
*/
protected $type = 'Team model';

/**
* Execute the console command.
*
* @return void
*/
public function fire()
{
parent::fire();
}

/**
* Get the stub file for the generator.
*
Expand Down
2 changes: 1 addition & 1 deletion src/commands/MigrationCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class MigrationCommand extends Command
*
* @return void
*/
public function fire()
public function handle()
{
$this->laravel->view->addNamespace('laratrust', substr(__DIR__, 0, -8).'views');
$this->line('');
Expand Down
2 changes: 1 addition & 1 deletion src/commands/SetupCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function __construct()
*
* @return void
*/
public function fire()
public function handle()
{
foreach ($this->calls as $command => $info) {
$this->line(PHP_EOL . $info);
Expand Down
2 changes: 1 addition & 1 deletion src/commands/SetupTeamsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SetupTeamsCommand extends Command
*
* @return void
*/
public function fire()
public function handle()
{
if (!Config::get('laratrust.use_teams')) {
$this->error('Not using teams in your Laratrust configuration file.');
Expand Down
2 changes: 1 addition & 1 deletion src/commands/UpgradeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class UpgradeCommand extends Command
*
* @return void
*/
public function fire()
public function handle()
{
$this->laravel->view->addNamespace('laratrust', substr(__DIR__, 0, -8).'views');

Expand Down

0 comments on commit bfc5d45

Please sign in to comment.