Property | Type | Description | |
---|---|---|---|
$written | Stored output string |
Method | Description | |
---|---|---|
__construct ( integer $verbosity = self::VERBOSITY_NORMAL, boolean $decorated = true, Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null ) | Constructor. | |
write ( string | array $messages, boolean $newline = false, integer $type = self::OUTPUT_RAW ) | Writes a message to the output. | |
written ( ) : string | Returns written string so far |
Method | Description | |
---|---|---|
doWrite ( string $message, boolean $newline ) | Stores message in a local string |
public __construct ( integer $verbosity = self::VERBOSITY_NORMAL, boolean $decorated = true, Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null ) | ||
$verbosity | integer | The verbosity level (one of the VERBOSITY constants in OutputInterface) |
$decorated | boolean | Whether to decorate messages |
$formatter | Symfony\Component\Console\Formatter\OutputFormatterInterface | Output formatter instance (null to use default OutputFormatter) |