PHP 인터페이스 Neomerx\JsonApi\Contracts\Encoder\Parameters\ParametersAnalyzerInterface

파일 보기 프로젝트 열기: neomerx/json-api 0 사용 예제들

공개 메소드들

메소드 설명
getIncludeRelationships ( string $path, string $type ) : string[] Get a list of relationship that should be included for $path of root type $type.
getParameters ( ) : EncodingParametersInterface Get parameters.
hasSomeFields ( string $type ) : boolean If field-sets allows any fields to be in output (field-set filter is not empty array).
isPathIncluded ( string $path, string $type ) : boolean If path is included.

메소드 상세

getIncludeRelationships() 공개 메소드

Get a list of relationship that should be included for $path of root type $type.
public getIncludeRelationships ( string $path, string $type ) : string[]
$path string
$type string
리턴 string[]

getParameters() 공개 메소드

Get parameters.
public getParameters ( ) : EncodingParametersInterface
리턴 EncodingParametersInterface

hasSomeFields() 공개 메소드

If field-sets allows any fields to be in output (field-set filter is not empty array).
public hasSomeFields ( string $type ) : boolean
$type string
리턴 boolean

isPathIncluded() 공개 메소드

If path is included.
public isPathIncluded ( string $path, string $type ) : boolean
$path string
$type string
리턴 boolean