private static function getGraphqlInput(GQL\Input $inputAnnotation, array $classAnnotations, array $properties, string $namespace)
    {
        $inputConfiguration = [];
        $fields = self::getGraphqlFieldsFromAnnotations($namespace, $properties, true);

        $inputConfiguration['fields'] = $fields;
        $inputConfiguration = self::getDescriptionConfiguration($classAnnotations) + $inputConfiguration;

        return ['type' => $inputAnnotation->isRelay ? 'relay-mutation-input' : 'input-object', 'config' => $inputConfiguration];
    }
private static function getGraphqlInput(GQL\Input $inputAnnotation, array $classAnnotations, array $properties, string $namespace)
    {
        $inputConfiguration = [];
        $fields = self::getGraphqlFieldsFromAnnotations($namespace, $properties, true);

        $inputConfiguration['fields'] = $fields;
        $inputConfiguration = self::getDescriptionConfiguration($classAnnotations) + $inputConfiguration;

        return ['type' => $inputAnnotation->isRelay ? 'relay-mutation-input' : 'input-object', 'config' => $inputConfiguration];
    }
private static function getGraphqlInput ( GQL \ Input $ inputAnnotation , array $ classAnnotations , array $ properties , string $ namespace ) { $ inputConfiguration = [ ] ; $ fields = self :: getGraphqlFieldsFromAnnotations ( $ namespace , $ properties , true ) ; $ inputConfiguration [ 'fields' ] = $ fields ; $ inputConfiguration = self :: getDescriptionConfiguration ( $ classAnnotations ) + $ inputConfiguration ; return [ 'type' => $ inputAnnotation -> isRelay ? 'relay-mutation-input' : 'input-object' , 'config' => $ inputConfiguration ] ; }
Create a GraphQL Input type configuration from annotations on properties.

@param string    $shortClassName
@param GQL\Input $inputAnnotation
@param array     $properties
@param string    $namespace

@return array
Create a GraphQL Input type configuration from annotations on properties .