rmrevin\yii\fontawesome\component\Stack::on PHP Метод

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

public on ( string | Icon $icon, array $options = [] ) : self
$icon string | Icon
$options array
Результат self
    public function on($icon, $options = [])
    {
        if (is_string($icon)) {
            $icon = new Icon($icon, $options);
        }
        $this->icon_back = $icon;
        return $this;
    }