PHP Interface Youshido\GraphQL\Relay\Fetcher\FetcherInterface

Mostra file Open project: youshido/graphql Interface Usage Examples

Public Methods

Method Description
resolveNode ( $type, $id ) : mixed Resolve node
resolveType ( $object ) : mixed

Method Details

resolveNode() public method

Resolve node
public resolveNode ( $type, $id ) : mixed
$type string
$id string
return mixed

resolveType() public method

public resolveType ( $object ) : mixed
$object
return mixed