PHP Class GrumPHP\IO\ConsoleIO

Inheritance: implements GrumPHP\IO\IOInterface
显示文件 Open project: phpro/grumphp Class Usage Examples

Public Methods

Method Description
__construct ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) ConsoleIO constructor.
isDebug ( ) {@inheritDoc}
isDecorated ( ) {@inheritDoc}
isInteractive ( ) {@inheritDoc}
isVerbose ( ) {@inheritDoc}
isVeryVerbose ( ) {@inheritDoc}
readCommandInput ( resource $handle ) : string
write ( $messages, $newline = true ) {@inheritDoc}
writeError ( $messages, $newline = true ) {@inheritDoc}

Private Methods

Method Description
doWrite ( array $messages, boolean $newline, boolean $stderr )

Method Details

__construct() public method

ConsoleIO constructor.
public __construct ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

isDebug() public method

{@inheritDoc}
public isDebug ( )

isDecorated() public method

{@inheritDoc}
public isDecorated ( )

isInteractive() public method

{@inheritDoc}
public isInteractive ( )

isVerbose() public method

{@inheritDoc}
public isVerbose ( )

isVeryVerbose() public method

{@inheritDoc}
public isVeryVerbose ( )

readCommandInput() public method

public readCommandInput ( resource $handle ) : string
$handle resource
return string

write() public method

{@inheritDoc}
public write ( $messages, $newline = true )

writeError() public method

{@inheritDoc}
public writeError ( $messages, $newline = true )