Documentation

ScalarLeafs extends ValidationRule
in package

Table of Contents

$name  : string
__invoke()  : mixed
getName()  : mixed
getSDLVisitor()  : array<string|int, mixed>
Returns structure suitable for GraphQL\Language\Visitor
getVisitor()  : array<string|int, mixed>
Returns structure suitable for GraphQL\Language\Visitor
noSubselectionAllowedMessage()  : mixed
requiredSubselectionMessage()  : mixed

Properties

Methods

getVisitor()

Returns structure suitable for GraphQL\Language\Visitor

public getVisitor(ValidationContext $context) : array<string|int, mixed>
Parameters
$context : ValidationContext
Return values
array<string|int, mixed>

noSubselectionAllowedMessage()

public static noSubselectionAllowedMessage(mixed $field, mixed $type) : mixed
Parameters
$field : mixed
$type : mixed
Return values
mixed

requiredSubselectionMessage()

public static requiredSubselectionMessage(mixed $field, mixed $type) : mixed
Parameters
$field : mixed
$type : mixed
Return values
mixed

Search results