Property | Type | Description | |
---|---|---|---|
$defaults | array | ||
$input | Symfony\Component\Console\Input\InputInterface | ||
$output | Symfony\Component\Console\Output\OutputInterface |
Method | Description | |
---|---|---|
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Initializes the command just after the input has been validated. |
Method | Description | |
---|---|---|
configure ( ) | Configures the current command. | |
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : null | integer | Executes the current command. | |
executeLint ( |
Execute lint and return errors. | |
getConfigFile ( ) : string | null | Get configuration file. | |
getScreenColumns ( ) : integer | Get screen columns. | |
loadConfiguration ( string $path ) : array | Load configuration from yaml. | |
mergeOptions ( ) : array | Merge options. | |
showErrors ( array $errors ) | Show errors detail. |
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : null | integer | ||
$input | Symfony\Component\Console\Input\InputInterface | An InputInterface instance |
$output | Symfony\Component\Console\Output\OutputInterface | An OutputInterface instance |
return | null | integer | null or 0 if everything went fine, or an error code |
protected executeLint ( |
||
$linter | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
$fileCount | integer | |
$cache | boolean |
protected getConfigFile ( ) : string | null | ||
return | string | null |
protected getScreenColumns ( ) : integer | ||
return | integer |
public initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | An InputInterface instance |
$output | Symfony\Component\Console\Output\OutputInterface | An OutputInterface instance |
protected loadConfiguration ( string $path ) : array | ||
$path | string | |
return | array |
protected showErrors ( array $errors ) | ||
$errors | array |
protected InputInterface,Symfony\Component\Console\Input $input | ||
return | Symfony\Component\Console\Input\InputInterface |