src/Executor/Executor.php
protected static function executeFieldsSerially(ExecutionContext $context, ObjectType $parent, $source, $fields)
    {
        $results = [];
        foreach ($fields as $response => $asts) {
            $result = self::resolveField($context, $parent, $source, $asts);

            if ($result !== self::$UNDEFINED) {
                // Undefined means that field is not defined in schema.
                $results[$response] = $result;
            }
        }

        return $results;
    }
protected static function executeFieldsSerially(ExecutionContext $context, ObjectType $parent, $source, $fields)
    {
        $results = [];
        foreach ($fields as $response => $asts) {
            $result = self::resolveField($context, $parent, $source, $asts);

            if ($result !== self::$UNDEFINED) {
                // Undefined means that field is not defined in schema.
                $results[$response] = $result;
            }
        }

        return $results;
    }
protected static function executeFieldsSerially ( ExecutionContext $ context , ObjectType $ parent , $ source , $ fields ) { $ results = [ ] ; foreach ( $ fields as $ response => $ asts ) { $ result = self :: resolveField ( $ context , $ parent , $ source , $ asts ) ; if ( $ result !== self :: $ UNDEFINED ) { // Undefined means that field is not defined in schema. $ results [ $ response ] = $ result ; } } return $ results ; }
Implements the "Evaluating selection sets" section of the spec for "write" mode.
Implements the Evaluating selection sets section of the spec for write mode .