PHP 클래스 Youshido\GraphQL\Relay\Fetcher\CallableFetcher

상속: implements Youshido\GraphQL\Relay\Fetcher\FetcherInterface
파일 보기 프로젝트 열기: youshido/graphql 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$resolveNodeCallable callable
$resolveTypeCallable callable

공개 메소드들

메소드 설명
__construct ( callable $resolveNode, callable $resolveType )
resolveNode ( $type, $id )
resolveType ( $object )

메소드 상세

__construct() 공개 메소드

public __construct ( callable $resolveNode, callable $resolveType )
$resolveNode callable
$resolveType callable

resolveNode() 공개 메소드

public resolveNode ( $type, $id )

resolveType() 공개 메소드

public resolveType ( $object )

프로퍼티 상세

$resolveNodeCallable 보호되어 있는 프로퍼티

protected callable $resolveNodeCallable
리턴 callable

$resolveTypeCallable 보호되어 있는 프로퍼티

protected callable $resolveTypeCallable
리턴 callable