PHP Class Chrisbjr\ApiGuard\Console\Commands\GenerateApiKeyCommand

Inheritance: extends Illuminate\Console\Command
Show file Open project: chrisbjr/api-guard

Protected Properties

Property Type Description
$description string The console command description.
$name string The console command name.

Public Methods

Method Description
__construct ( ) Create a new command instance.
fire ( ) : mixed Execute the console command.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getOption ( $name, $defaultValue )
getOptions ( ) : array Get the console command options.

Method Details

__construct() public method

Create a new command instance.
public __construct ( )

fire() public method

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

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array

getOption() protected method

protected getOption ( $name, $defaultValue )

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

Property Details

$description protected property

The console command description.
protected string $description
return string

$name protected property

The console command name.
protected string $name
return string