function OutputInterface::write
Writes a message to the output.
Parameters
bool $newline Whether to add a newline:
int $options A bitmask of options (one of the OUTPUT or VERBOSITY constants),: 0 is considered the same as self::OUTPUT_NORMAL | self::VERBOSITY_NORMAL
3 methods override OutputInterface::write()
- NullOutput::write in vendor/
symfony/ console/ Output/ NullOutput.php - Writes a message to the output.
- Output::write in vendor/
symfony/ console/ Output/ Output.php - Writes a message to the output.
- OutputStyle::write in vendor/
symfony/ console/ Style/ OutputStyle.php - Writes a message to the output.
File
-
vendor/
symfony/ console/ Output/ OutputInterface.php, line 43
Class
- OutputInterface
- OutputInterface is the interface implemented by all Output classes.
Namespace
Symfony\Component\Console\OutputCode
public function write(string|iterable $messages, bool $newline = false, int $options = 0) : void;