PHP Class GraphQL\Validator\Rules\ScalarLeafs

Show file Open project: webonyx/graphql-php Class Usage Examples

Public Methods

Method Description
__invoke ( ValidationContext $context )
noSubselectionAllowedMessage ( $field, $type )
requiredSubselectionMessage ( $field, $type )

Method Details

__invoke() public method

public __invoke ( ValidationContext $context )
$context GraphQL\Validator\ValidationContext

noSubselectionAllowedMessage() static public method

static public noSubselectionAllowedMessage ( $field, $type )

requiredSubselectionMessage() static public method

static public requiredSubselectionMessage ( $field, $type )