Свойство | Тип | Описание | |
---|---|---|---|
$args | |||
$config | array | Original field definition config | |
$deprecationReason | string | null | ||
$description | string | null | ||
$mapFn | callable | Mutually exclusive with resolve | |
$name | string | ||
$resolveFn | callable | Mutually exclusive with map |
Метод | Описание | |
---|---|---|
create ( array | |
||
createMap ( array $fields, string $parentTypeName = null ) : array | ||
defaultComplexity ( $childrenComplexity ) : mixed | ||
getArg ( $name ) : |
||
getComplexityFn ( ) : callable | Closure | ||
getDefinition ( ) : array | ||
getType ( ) : |
||
isDeprecated ( ) : boolean |
Метод | Описание | |
---|---|---|
__construct ( array $config ) | FieldDefinition constructor. |
protected __construct ( array $config ) | ||
$config | array |
public static defaultComplexity ( $childrenComplexity ) : mixed | ||
$childrenComplexity | ||
Результат | mixed |
public getComplexityFn ( ) : callable | Closure | ||
Результат | callable | Closure |
public FieldArgument[],GraphQL\Type\Definition $args | ||
Результат |
public callable $resolveFn | ||
Результат | callable |