PHP Class Youshido\GraphQL\Relay\Field\NodeField

Inheritance: extends Youshido\GraphQL\Field\AbstractField
Afficher le fichier Open project: youshido/graphql Class Usage Examples

Protected Properties

Свойство Type Description
$fetcher Youshido\GraphQL\Relay\Fetcher\FetcherInterface
$type Youshido\GraphQL\Relay\NodeInterfaceType

Méthodes publiques

Méthode Description
__construct ( Youshido\GraphQL\Relay\Fetcher\FetcherInterface $fetcher )
build ( FieldConfig $config )
getDescription ( )
getName ( )
getType ( )
resolve ( $value, array $args, ResolveInfo $info )

Method Details

__construct() public méthode

public __construct ( Youshido\GraphQL\Relay\Fetcher\FetcherInterface $fetcher )
$fetcher Youshido\GraphQL\Relay\Fetcher\FetcherInterface

build() public méthode

public build ( FieldConfig $config )
$config Youshido\GraphQL\Config\Field\FieldConfig

getDescription() public méthode

public getDescription ( )

getName() public méthode

public getName ( )

getType() public méthode

public getType ( )

resolve() public méthode

public resolve ( $value, array $args, ResolveInfo $info )
$args array
$info Youshido\GraphQL\Execution\ResolveInfo

Property Details

$fetcher protected_oe property

protected FetcherInterface,Youshido\GraphQL\Relay\Fetcher $fetcher
Résultat Youshido\GraphQL\Relay\Fetcher\FetcherInterface

$type protected_oe property

protected NodeInterfaceType,Youshido\GraphQL\Relay $type
Résultat Youshido\GraphQL\Relay\NodeInterfaceType