/** * @param AbstractModel $model * @param null $arg unused * @param boolean $bool indicates whether to use section tag or not * @return mixed */ public function visit(AbstractModel $model, $arg, $bool) { if (array_key_exists('style', $model->config)) { Head::getInstance()->link($model->config['style']); } return $model->accept($this, $arg, $bool); }
public function visit(AbstractModel $model, $arg, $bool) { return $model->accept($this, $arg, $bool); }