Adds a style to the style set.
public addStyle ( |
||
$style | The style to add. | |
Résultat | static | The current instance. |
public function testAddStyle() { $style = Style::tag('custom'); $this->config->addStyle($style); $styleSet = new DefaultStyleSet(); $styleSet->add($style); $this->assertEquals($styleSet, $this->config->getStyleSet()); }