프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$defaults | array | ||
$input | Symfony\Component\Console\Input\InputInterface | ||
$output | Symfony\Component\Console\Output\OutputInterface |
메소드 | 설명 | |
---|---|---|
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Initializes the command just after the input has been validated. |
메소드 | 설명 | |
---|---|---|
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 |
리턴 | 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 | ||
리턴 | string | null |
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 | |
리턴 | array |
protected InputInterface,Symfony\Component\Console\Input $input | ||
리턴 | Symfony\Component\Console\Input\InputInterface |