function OutputInterface::writeln
Writes a message to the output and adds a newline at the end.
Parameters
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::writeln()
- NullOutput::writeln in vendor/
symfony/ console/ Output/ NullOutput.php - Writes a message to the output and adds a newline at the end.
- Output::writeln in vendor/
symfony/ console/ Output/ Output.php - Writes a message to the output and adds a newline at the end.
- OutputStyle::writeln in vendor/
symfony/ console/ Style/ OutputStyle.php - Writes a message to the output and adds a newline at the end.
File
-
vendor/
symfony/ console/ Output/ OutputInterface.php, line 51
Class
- OutputInterface
- OutputInterface is the interface implemented by all Output classes.
Namespace
Symfony\Component\Console\OutputCode
public function writeln(string|iterable $messages, int $options = 0) : void;