src/Executor/ReferenceExecutor.php
private function collectAndExecuteSubfields(
        ObjectType $returnType,
        $fieldNodes,
        $path,
        &$result
    ) {
        $subFieldNodes = $this->collectSubFields($returnType, $fieldNodes);

        return $this->executeFields($returnType, $result, $path, $subFieldNodes);
    }
private function collectAndExecuteSubfields(
        ObjectType $returnType,
        $fieldNodes,
        $path,
        &$result
    ) {
        $subFieldNodes = $this->collectSubFields($returnType, $fieldNodes);

        return $this->executeFields($returnType, $result, $path, $subFieldNodes);
    }
private function collectAndExecuteSubfields ( ObjectType $ returnType , $ fieldNodes , $ path , & $ result ) { $ subFieldNodes = $ this -> collectSubFields ( $ returnType , $ fieldNodes ) ; return $ this -> executeFields ( $ returnType , $ result , $ path , $ subFieldNodes ) ; }
@param FieldNode[] $fieldNodes
@param mixed[]     $path
@param mixed[]     $result

@return mixed[]|Promise|stdClass

@throws Error
@param FieldNode [] $fieldNodes @param mixed [] $path @param mixed [] $result