macgyer\yii2materializecss\widgets\Icon::run PHP Method

run() public method

Executes the widget.
public run ( ) : string
return string the result of widget execution to be outputted.
    public function run()
    {
        $tag = ArrayHelper::remove($this->options, 'tag', 'i');
        return Html::tag($tag, $this->name, $this->options);
    }