protected function getBaseTypeMembers(ComplexType $type)
    {
        if (empty($type->baseType)) {
            return array();
        }

        // Only get members from the base type if it differs from the current class. It is possible that they will be
        // the same due to poor handling of namespaces in PHP SoapClients.
        if ($type === $type->baseType) {
            return array();
        }

        return array_merge($this->getBaseTypeMembers($type->baseType), $type->baseType->getMembers());
    }
protected function getBaseTypeMembers(ComplexType $type)
    {
        if (empty($type->baseType)) {
            return array();
        }

        // Only get members from the base type if it differs from the current class. It is possible that they will be
        // the same due to poor handling of namespaces in PHP SoapClients.
        if ($type === $type->baseType) {
            return array();
        }

        return array_merge($this->getBaseTypeMembers($type->baseType), $type->baseType->getMembers());
    }
protected function getBaseTypeMembers ( ComplexType $ type ) { if ( empty ( $ type -> baseType ) ) { return array ( ) ; } // Only get members from the base type if it differs from the current class. It is possible that they will be // the same due to poor handling of namespaces in PHP SoapClients. if ( $ type === $ type -> baseType ) { return array ( ) ; } return array_merge ( $ this -> getBaseTypeMembers ( $ type -> baseType ) , $ type -> baseType -> getMembers ( ) ) ; }
Get members from base types all the way through the type hierarchy.

@param ComplexType $type The type to retrieve base type members from.
@return Variable[] Member variables from all base types.
Get members from base types all the way through the type hierarchy .