- Full name:
\GraphQL\Validator\Rules\UniqueArgumentNames
- Parent class:
\GraphQL\Validator\Rules\ValidationRule
public \GraphQL\Language\AST\NameNode[] $knownArgNames
Returns structure suitable for GraphQL\Language\Visitor
public getSDLVisitor(\GraphQL\Validator\SDLValidationContext $context): array
Parameters:
Parameter | Type | Description |
---|---|---|
$context |
\GraphQL\Validator\SDLValidationContext |
Returns structure suitable for GraphQL\Language\Visitor
public getVisitor(\GraphQL\Validator\ValidationContext $context): array
Parameters:
Parameter | Type | Description |
---|---|---|
$context |
\GraphQL\Validator\ValidationContext |
public getASTVisitor(\GraphQL\Validator\ASTValidationContext $context): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$context |
\GraphQL\Validator\ASTValidationContext |
public static duplicateArgMessage(mixed $argName): mixed
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$argName |
mixed |
public getName(): mixed
public __invoke(\GraphQL\Validator\ValidationContext $context): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$context |
\GraphQL\Validator\ValidationContext |
Returns structure suitable for GraphQL\Language\Visitor
public getVisitor(\GraphQL\Validator\ValidationContext $context): array
Parameters:
Parameter | Type | Description |
---|---|---|
$context |
\GraphQL\Validator\ValidationContext |
See Also:
- \GraphQL\Language\Visitor -
Returns structure suitable for GraphQL\Language\Visitor
public getSDLVisitor(\GraphQL\Validator\SDLValidationContext $context): array
Parameters:
Parameter | Type | Description |
---|---|---|
$context |
\GraphQL\Validator\SDLValidationContext |
See Also:
- \GraphQL\Language\Visitor -