PHP Class GraphQL\Type\Definition\Directive

Afficher le fichier Open project: webonyx/graphql-php Class Usage Examples

Méthodes publiques

Свойство Type Description
$args FieldArgument[]
$description string | null
$directiveLocations array
$internalDirectives array
$locations array Values from self::$locationMap
$name string

Méthodes publiques

Méthode Description
__construct ( array $config ) Directive constructor.
deprecatedDirective ( ) : Directive
getInternalDirectives ( ) : array
includeDirective ( ) : Directive
skipDirective ( ) : Directive

Method Details

__construct() public méthode

Directive constructor.
public __construct ( array $config )
$config array

deprecatedDirective() public static méthode

public static deprecatedDirective ( ) : Directive
Résultat Directive

getInternalDirectives() public static méthode

public static getInternalDirectives ( ) : array
Résultat array

includeDirective() public static méthode

public static includeDirective ( ) : Directive
Résultat Directive

skipDirective() public static méthode

public static skipDirective ( ) : Directive
Résultat Directive

Property Details

$args public_oe property

public FieldArgument[],GraphQL\Type\Definition $args
Résultat FieldArgument[]

$description public_oe property

public string|null $description
Résultat string | null

$directiveLocations public_oe static_oe property

Deprecation: as of 8.0 (use DirectiveLocation constants directly)
public static array $directiveLocations
Résultat array

$internalDirectives public_oe static_oe property

public static array $internalDirectives
Résultat array

$locations public_oe property

Values from self::$locationMap
public array $locations
Résultat array

$name public_oe property

public string $name
Résultat string