Overrides OutputFormatterInterface::getStyle
public function getStyle(string $name) : OutputFormatterStyleInterface { if (!$this->hasStyle($name)) { throw new InvalidArgumentException(\sprintf('Undefined style: "%s".', $name)); } return $this->styles[strtolower($name)]; }