public function addIcon(IconSequence $icon)
    {
        $copy = clone $icon;
        $copy->setName(null);
        $this->options['icons'][] = new JsExpression($copy->getJs());
    }
public function addIcon(IconSequence $icon)
    {
        $copy = clone $icon;
        $copy->setName(null);
        $this->options['icons'][] = new JsExpression($copy->getJs());
    }
public function addIcon ( IconSequence $ icon ) { $ copy = clone $ icon ; $ copy -> setName ( null ) ; $ this -> options [ 'icons' ] [ ] = new JsExpression ( $ copy -> getJs ( ) ) ; }
Adds an IconSequence

@param IconSequence $icon
Adds an IconSequence