WsdlToPhp\PackageGenerator\Model\Struct::getExtends PHP Метод

getExtends() публичный Метод

Allows to define from which class the curent model extends
public getExtends ( boolean $short = false ) : string
$short boolean
Результат string
    public function getExtends($short = false)
    {
        $extends = '';
        if ($this->isArray()) {
            $extends = $this->getGenerator()->getOptionStructArrayClass();
        } elseif (!$this->getIsRestriction()) {
            $extends = $this->getGenerator()->getOptionStructClass();
        }
        return $short ? Utils::removeNamespace($extends) : $extends;
    }