PHP Class Visithor\Command\GoCommand

Inheritance: extends Symfony\Component\Console\Command\Command
ファイルを表示 Open project: visithor/visithor Class Usage Examples

Protected Methods

Method Description
checkEnvironment ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Check environment. If not test, add a notice
configure ( ) configure
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer Execute command
executeVisithor ( Symfony\Component\Console\Output\OutputInterface $output, array $config, string $format ) : integer Executes all business logic inside this command

Method Details

checkEnvironment() protected method

Check environment. If not test, add a notice
protected checkEnvironment ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface Input
$output Symfony\Component\Console\Output\OutputInterface Output

configure() protected method

configure
protected configure ( )

execute() protected method

This method returns 0 if all executions passed. 1 otherwise.
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer
$input Symfony\Component\Console\Input\InputInterface Input
$output Symfony\Component\Console\Output\OutputInterface Output
return integer Execution return

executeVisithor() protected method

This method returns 0 if all executions passed. 1 otherwise.
protected executeVisithor ( Symfony\Component\Console\Output\OutputInterface $output, array $config, string $format ) : integer
$output Symfony\Component\Console\Output\OutputInterface Output
$config array Config
$format string Format
return integer Execution return