function OutputFormatterInterface::getStyle
Gets style options from style with specified name.
Throws
\InvalidArgumentException When style isn't defined
2 methods override OutputFormatterInterface::getStyle()
- NullOutputFormatter::getStyle in vendor/
symfony/ console/ Formatter/ NullOutputFormatter.php - Gets style options from style with specified name.
- OutputFormatter::getStyle in vendor/
symfony/ console/ Formatter/ OutputFormatter.php - Gets style options from style with specified name.
File
-
vendor/
symfony/ console/ Formatter/ OutputFormatterInterface.php, line 46
Class
- OutputFormatterInterface
- Formatter interface for console output.
Namespace
Symfony\Component\Console\FormatterCode
public function getStyle(string $name) : OutputFormatterStyleInterface;