PHP Class Youshido\GraphQL\Relay\NodeInterfaceType

Inheritance: extends Youshido\GraphQL\Type\InterfaceType\AbstractInterfaceType
Exibir arquivo Open project: youshido/graphql Class Usage Examples

Protected Properties

Property Type Description
$fetcher todo: maybe there are better solution

Public Methods

Method Description
build ( $config )
getFetcher ( ) : Youshido\GraphQL\Relay\Fetcher\FetcherInterface
getName ( )
resolveType ( $object )
setFetcher ( Youshido\GraphQL\Relay\Fetcher\FetcherInterface $fetcher ) : NodeInterfaceType

Method Details

build() public method

public build ( $config )

getFetcher() public method

public getFetcher ( ) : Youshido\GraphQL\Relay\Fetcher\FetcherInterface
return Youshido\GraphQL\Relay\Fetcher\FetcherInterface

getName() public method

public getName ( )

resolveType() public method

public resolveType ( $object )

setFetcher() public method

public setFetcher ( Youshido\GraphQL\Relay\Fetcher\FetcherInterface $fetcher ) : NodeInterfaceType
$fetcher Youshido\GraphQL\Relay\Fetcher\FetcherInterface
return NodeInterfaceType

Property Details

$fetcher protected_oe property

todo: maybe there are better solution
protected $fetcher