PHP Class GuilhermeGuitte\BehatLaravel\RunBehatLaravelCommand

Inheritance: extends Illuminate\Console\Command
Show file Open project: guilhermeguitte/behat-laravel

Protected Properties

Property Type Description
$app Illuminate\Foundation\Application Illuminate application instance.
$config array Config from behat.yml
$description string The console command description.
$name string The console command name.

Public Methods

Method Description
__construct ( $config ) : void Create a new BehatLaravel command instance.
fire ( ) : void Execute the console command.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getOptions ( )
loadConfig ( string $profile ) : array | null Load the profile specific config

Method Details

__construct() public method

Create a new BehatLaravel command instance.
public __construct ( $config ) : void
return void

fire() public method

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

getArguments() protected method

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

getOptions() protected method

protected getOptions ( )

loadConfig() protected method

Load the profile specific config
protected loadConfig ( string $profile ) : array | null
$profile string
return array | null

Property Details

$app protected property

Illuminate application instance.
protected Illuminate\Foundation\Application $app
return Illuminate\Foundation\Application

$config protected property

Config from behat.yml
protected array $config
return array

$description protected property

The console command description.
protected string $description
return string

$name protected property

The console command name.
protected string $name
return string