public function getModel()
    {
        if ($this->model == null) {
            $name = $this->relation->getReferencedModel();
            $this->model = new $name();
        }
        return $this->model;
    }
public function getModel()
    {
        if ($this->model == null) {
            $name = $this->relation->getReferencedModel();
            $this->model = new $name();
        }
        return $this->model;
    }
public function getModel ( ) { if ( $ this -> model == null ) { $ name = $ this -> relation -> getReferencedModel ( ) ; $ this -> model = new $ name ( ) ; } return $ this -> model ; }
ez access to the "foreign" model depicted by the relationship

@return \PhalconRest\API\BaseModel
ez access to the foreign model depicted by the relationship