PHP Class Recca0120\Terminal\Console\Commands\Artisan

Inheritance: extends Illuminate\Console\Command
Mostrar archivo Open project: recca0120/laravel-terminal

Protected Properties

Property Type Description
$artisan Illuminate\Contracts\Console\Kernel $artisan.
$description string The console command description.
$name string The console command name.
$notSupport array no support array.

Public Methods

Method Description
__construct ( Illuminate\Contracts\Console\Kernel $artisan ) __construct.
fire ( ) handle.

Protected Methods

Method Description
getOptions ( ) : array Get the console command options.
needForce ( string $command ) : boolean need focre option.

Method Details

__construct() public method

__construct.
public __construct ( Illuminate\Contracts\Console\Kernel $artisan )
$artisan Illuminate\Contracts\Console\Kernel

fire() public method

handle.
public fire ( )

getOptions() protected method

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

needForce() protected method

need focre option.
protected needForce ( string $command ) : boolean
$command string
return boolean

Property Details

$artisan protected_oe property

$artisan.
protected Kernel,Illuminate\Contracts\Console $artisan
return Illuminate\Contracts\Console\Kernel

$description protected_oe property

The console command description.
protected string $description
return string

$name protected_oe property

The console command name.
protected string $name
return string

$notSupport protected_oe property

no support array.
protected array $notSupport
return array