kartik\builder\FormTrait::hasModel PHP Метод

hasModel() защищенный Метод

Check if a valid model is set for the object instance.
protected hasModel ( ) : boolean
Результат boolean whether there is a valid model set.
    protected function hasModel()
    {
        return isset($this->model) && $this->model instanceof Model;
    }