PHP Class Matthias\SymfonyConsoleForm\Tests\Helper\ApplicationTester

Show file Open project: matthiasnoback/symfony-console-form Class Usage Examples

Public Methods

Method Description
__construct ( Application $application )
getDisplay ( $normalize = false ) : string
getInput ( ) : Symfony\Component\Console\Input\InputInterface
getOutput ( ) : Symfony\Component\Console\Output\StreamOutput
getStatusCode ( ) : integer
putToInputStream ( string $input )
run ( $input, array $options = [] )

Private Methods

Method Description
disableStty ( )
getInputStream ( ) : resource
setInputStream ( $inputStream )

Method Details

__construct() public method

public __construct ( Application $application )
$application Symfony\Bundle\FrameworkBundle\Console\Application

getDisplay() public method

public getDisplay ( $normalize = false ) : string
return string

getInput() public method

public getInput ( ) : Symfony\Component\Console\Input\InputInterface
return Symfony\Component\Console\Input\InputInterface

getOutput() public method

public getOutput ( ) : Symfony\Component\Console\Output\StreamOutput
return Symfony\Component\Console\Output\StreamOutput

getStatusCode() public method

public getStatusCode ( ) : integer
return integer

putToInputStream() public method

public putToInputStream ( string $input )
$input string

run() public method

public run ( $input, array $options = [] )
$options array