src/Model/Struct.php
public function getExtends($short = false)
    {
        $extends = '';
        if ($this->isArray()) {
            $extends = $this->getGenerator()->getOptionStructArrayClass();
        } elseif (!$this->isRestriction()) {
            $extends = $this->getGenerator()->getOptionStructClass();
        }
        return $short ? Utils::removeNamespace($extends) : $extends;
    }
public function getExtends($short = false)
    {
        $extends = '';
        if ($this->isArray()) {
            $extends = $this->getGenerator()->getOptionStructArrayClass();
        } elseif (!$this->isRestriction()) {
            $extends = $this->getGenerator()->getOptionStructClass();
        }
        return $short ? Utils::removeNamespace($extends) : $extends;
    }
public function getExtends ( $ short = false ) { $ extends = '' ; if ( $ this -> isArray ( ) ) { $ extends = $ this -> getGenerator ( ) -> getOptionStructArrayClass ( ) ; } elseif ( ! $ this -> isRestriction ( ) ) { $ extends = $ this -> getGenerator ( ) -> getOptionStructClass ( ) ; } return $ short ? Utils :: removeNamespace ( $ extends ) : $ extends ; }
Allows to define from which class the current model extends
@param bool $short
@return string
Allows to define from which class the current model extends