Formal\Form::getMorpho PHP Method

getMorpho() public method

public getMorpho ( )
    function getMorpho()
    {
        if (!is_null($this->oMorpho)) {
            return $this->oMorpho;
        }
        $this->oMorpho = $this->modelInstance()->formMorphologyForThisModelInstance();
        # Calling validation hook if defined
        if (($aHook = $this->option("hook.morphology")) !== false) {
            call_user_func($aHook, $this, $this->oMorpho);
        }
        return $this->oMorpho;
    }