Свойство | Type | Description | |
---|---|---|---|
$defaults | array | ||
$input | Symfony\Component\Console\Input\InputInterface | ||
$output | Symfony\Component\Console\Output\OutputInterface |
Méthode | Description | |
---|---|---|
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Initializes the command just after the input has been validated. |
Méthode | 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 |
Résultat | 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 | ||
Résultat | string | null |
protected getScreenColumns ( ) : integer | ||
Résultat | 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 | |
Résultat | array |
protected showErrors ( array $errors ) | ||
$errors | array |
protected InputInterface,Symfony\Component\Console\Input $input | ||
Résultat | Symfony\Component\Console\Input\InputInterface |