Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Webmozart
Console
Api
Formatter
StyleSet
__construct
Webmozart\Console\Api\Formatter\StyleSet::__construct PHP Method
StyleSet Class Documentation
Show file
Open project: webmozart/console
__construct()
public
method
Creates a new style set.
public
__construct
(
array
$styles
= [] )
$styles
array
The styles to add.
public function __construct(array $styles = array()) { $this->replace($styles); }
StyleSet
__construct
add
clear
contains
get
isEmpty
merge
remove
replace
toArray