public function getGraphQLType(Manager $manager = null)
    {
        $type = $this->createTypeParser()->getType();
        $name = $type->name;
        if ($manager && !$this->isInternal($name)) {
            return $manager->getType($name);
        }

        return $type;
    }
public function getGraphQLType(Manager $manager = null)
    {
        $type = $this->createTypeParser()->getType();
        $name = $type->name;
        if ($manager && !$this->isInternal($name)) {
            return $manager->getType($name);
        }

        return $type;
    }
public function getGraphQLType ( Manager $ manager = null ) { $ type = $ this -> createTypeParser ( ) -> getType ( ) ; $ name = $ type -> name ; if ( $ manager && ! $ this -> isInternal ( $ name ) ) { return $ manager -> getType ( $ name ) ; } return $ type ; }
Creates the type using appropriate parser

@param  Manager|null $manager
@return \GraphQL\Type\Definition\Type
Creates the type using appropriate parser