public function getOutput(string $className): ObjectType
    {
        /** @var ObjectType $type */
        $type = $this->getViaFactory($className, Utils::getTypeName($className), $this->objectTypeFactory);

        return $type;
    }
public function getOutput(string $className): ObjectType
    {
        /** @var ObjectType $type */
        $type = $this->getViaFactory($className, Utils::getTypeName($className), $this->objectTypeFactory);

        return $type;
    }
public function getOutput ( string $ className ) : ObjectType { /** @var ObjectType $type */ $ type = $ this -> getViaFactory ( $ className , Utils :: getTypeName ( $ className ) , $ this -> objectTypeFactory ) ; return $ type ; }
Returns an output type for the given entity

All entity getter methods will be exposed, unless specified otherwise
with annotations.

@param string $className the class name of an entity (`Post::class`)

@return ObjectType
Returns an output type for the given entity