PHP Class Laratrust\AddLaratrustUserTraitUseCommand

Inheritance: extends Illuminate\Console\Command
Show file Open project: santigarcor/laratrust

Protected Properties

Property Type Description
$name string The console command name.
$targetTrait string Trait added to User model

Public Methods

Method Description
fire ( ) : void Execute the console command.
getDescription ( ) : string

Protected Methods

Method Description
alreadyUsesLaratrustUserTrait ( ) : boolean
getUserModel ( ) : string

Method Details

alreadyUsesLaratrustUserTrait() protected method

fire() public method

Execute the console command.
public fire ( ) : void
return void

getDescription() public method

public getDescription ( ) : string
return string

getUserModel() protected method

protected getUserModel ( ) : string
return string

Property Details

$name protected property

The console command name.
protected string $name
return string

$targetTrait protected property

Trait added to User model
protected string $targetTrait
return string