function getParentType() { if (!empty($this->parentTypeStack)) { return $this->parentTypeStack[count($this->parentTypeStack) - 1]; } return null; }
/** * @return CompositeType */ function getParentType() { return $this->_typeInfo->getParentType(); }