removeStyle() публичный Метод

Removes a style from the style set.
См. также: StyleSet::remove()
public removeStyle ( string $tag ) : static
$tag string The tag of the style to remove.
Результат static The current instance.
Пример #1
0
 public function testRemoveStyle()
 {
     $style1 = Style::tag('custom1');
     $style2 = Style::tag('custom2');
     $this->config->addStyles(array($style1, $style2));
     $this->config->removeStyle('custom1');
     $styleSet = new DefaultStyleSet();
     $styleSet->add($style2);
     $this->assertEquals($styleSet, $this->config->getStyleSet());
 }