public function OutputFormatterStyleStack::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Formatter/OutputFormatterStyleStack.php \Symfony\Component\Console\Formatter\OutputFormatterStyleStack::__construct()
Constructor.
Parameters
OutputFormatterStyleInterface|null $emptyStyle:
File
- vendor/
symfony/ console/ Formatter/ OutputFormatterStyleStack.php, line 34
Class
- OutputFormatterStyleStack
- @author Jean-François Simon <contact@jfsimon.fr>
Namespace
Symfony\Component\Console\FormatterCode
public function __construct(OutputFormatterStyleInterface $emptyStyle = null) {
$this->emptyStyle = $emptyStyle ?: new OutputFormatterStyle();
$this
->reset();
}