public function getParent()
    {
        if (\is_string($this->parent)) {
            $parent = TypeCollection::getInstance()->getTypeByName($this->parent);
            \assert($parent instanceof ObjectType);

            return $parent;
        }

        return $this->parent;
    }
public function getParent()
    {
        if (\is_string($this->parent)) {
            $parent = TypeCollection::getInstance()->getTypeByName($this->parent);
            \assert($parent instanceof ObjectType);

            return $parent;
        }

        return $this->parent;
    }
public function getParent ( ) { if ( \ is_string ( $ this -> parent ) ) { $ parent = TypeCollection :: getInstance ( ) -> getTypeByName ( $ this -> parent ) ; \ assert ( $ parent instanceof ObjectType ) ; return $ parent ; } return $ this -> parent ; }
Get the value of Parent

@return ObjectType
Get the value of Parent