Method | Description | |
---|---|---|
__construct ( integer $verbosity = self::VERBOSITY_NORMAL, boolean | null $decorated = null, Eva\EvaEngine\CLI\Formatter\OutputFormatterInterface $formatter = null ) | Constructor. | |
getErrorOutput ( ) | ||
setDecorated ( $decorated ) | ||
setErrorOutput ( Eva\EvaEngine\CLI\Output\OutputInterface $error ) | ||
setFormatter ( Eva\EvaEngine\CLI\Formatter\OutputFormatterInterface $formatter ) | ||
setVerbosity ( $level ) | ||
writeList ( array $list ) | ||
writelnComment ( $message, $type = self::OUTPUT_NORMAL ) | ||
writelnError ( $message, $type = self::OUTPUT_NORMAL ) | ||
writelnInfo ( $message, $type = self::OUTPUT_NORMAL ) | ||
writelnSuccess ( $message, $type = self::OUTPUT_NORMAL ) | ||
writelnWarning ( $message, $type = self::OUTPUT_NORMAL ) |
Method | Description | |
---|---|---|
hasStdoutSupport ( ) : boolean | Returns true if current environment supports writing console output to STDOUT. |
Method | Description | |
---|---|---|
getSpace ( $length ) |
public __construct ( integer $verbosity = self::VERBOSITY_NORMAL, boolean | null $decorated = null, Eva\EvaEngine\CLI\Formatter\OutputFormatterInterface $formatter = null ) | ||
$verbosity | integer | The verbosity level (one of the VERBOSITY constants in OutputInterface) |
$decorated | boolean | null | Whether to decorate messages (null for auto-guessing) |
$formatter | Eva\EvaEngine\CLI\Formatter\OutputFormatterInterface | Output formatter instance (null to use default OutputFormatter) |
protected hasStdoutSupport ( ) : boolean | ||
return | boolean |
public setErrorOutput ( Eva\EvaEngine\CLI\Output\OutputInterface $error ) | ||
$error | Eva\EvaEngine\CLI\Output\OutputInterface |
public setFormatter ( Eva\EvaEngine\CLI\Formatter\OutputFormatterInterface $formatter ) | ||
$formatter | Eva\EvaEngine\CLI\Formatter\OutputFormatterInterface |