kartik\builder\FormTrait::hasModel PHP Méthode

hasModel() protected méthode

Check if a valid model is set for the object instance.
protected hasModel ( ) : boolean
Résultat boolean whether there is a valid model set.
    protected function hasModel()
    {
        return isset($this->model) && $this->model instanceof Model;
    }