private function getType(string $type, ResolveInfo $info): Type
    {
        return $info->schema->getType($type);
    }
private function getType(string $type, ResolveInfo $info): Type
    {
        return $info->schema->getType($type);
    }
private function getType ( string $ type , ResolveInfo $ info ) : Type { return $ info -> schema -> getType ( $ type ) ; }
Extract given type from Resolve Info.

@param string      $type
@param ResolveInfo $info

@return Type
Extract given type from Resolve Info .