PHP Class Certificationy\Cli\Command\StartCommand

This is the command to start a new questions set
Author: Vincent Composieux ([email protected])
Inheritance: extends Symfony\Component\Console\Command\Command
Datei anzeigen Open project: certificationy/certificationy-cli Class Usage Examples

Protected Methods

Method Description
askQuestions ( Certificationy\Certification\Set $set, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Ask questions
configure ( )
displayResults ( Certificationy\Certification\Set $set, Symfony\Component\Console\Output\OutputInterface $output ) Returns results
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
path ( null | string $config = null ) : String Returns configuration file path

Method Details

askQuestions() protected method

Ask questions
protected askQuestions ( Certificationy\Certification\Set $set, Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$set Certificationy\Certification\Set A Certificationy questions Set instance
$input Symfony\Component\Console\Input\InputInterface A Symfony Console input instance
$output Symfony\Component\Console\Output\OutputInterface A Symfony Console output instance

configure() protected method

protected configure ( )

displayResults() protected method

Returns results
protected displayResults ( Certificationy\Certification\Set $set, Symfony\Component\Console\Output\OutputInterface $output )
$set Certificationy\Certification\Set A Certificationy questions Set instance
$output Symfony\Component\Console\Output\OutputInterface A Symfony Console output instance

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

path() protected method

Returns configuration file path
protected path ( null | string $config = null ) : String
$config null | string
return String $path The configuration filepath