Symfony\Component\Console\Output\StreamOutput::__construct
Constructor.
Signature
Parameters
$stream
—
mixed
- A stream resource
$verbosity
—
integer
- The verbosity level (one of the VERBOSITY constants in OutputInterface)
$decorated
—
object
- Whether to decorate messages (null for auto-guessing)
$formatter
—
Symfony\Component\Console\Output\OutputFormatterInterface|null
- Output formatter instance (null to use default OutputFormatter)
Errors/Exceptions
-
InvalidArgumentException
- When first argument is not a real stream