PHP 클래스 Youshido\GraphQL\Execution\Visitor\AbstractQueryVisitor

파일 보기 프로젝트 열기: youshido/graphql 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$initialValue initial value of $this->memo
$memo the accumulator

공개 메소드들

메소드 설명
__construct ( ) AbstractQueryVisitor constructor.
getMemo ( ) : mixed
visit ( array $args, FieldConfig $fieldConfig, integer $childScore ) : integer | null Visit a query node. See class docstring.

메소드 상세

__construct() 공개 메소드

AbstractQueryVisitor constructor.
public __construct ( )

getMemo() 공개 메소드

public getMemo ( ) : mixed
리턴 mixed getter for the memo, in case callers want to inspect it after a process run

visit() 추상적인 공개 메소드

Visit a query node. See class docstring.
abstract public visit ( array $args, FieldConfig $fieldConfig, integer $childScore ) : integer | null
$args array
$fieldConfig Youshido\GraphQL\Config\Field\FieldConfig
$childScore integer
리턴 integer | null

프로퍼티 상세

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

initial value of $this->memo
protected $initialValue

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

the accumulator
protected $memo