프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$apiQueryBuilders | array | We will loop through these objects and call buildQueryFromParameters() on each of the objects ApiQueryBuilderInterface[] $apiQueryBuilderInterface | |
$builder | $builder - contains the eloquent builder instance to build queries on. | ||
$requestContainer | $requestContainer - contains all kinds of request diagnostics to make decisions on. |
메소드 | 설명 | |
---|---|---|
__construct ( array $apiQueryBuilders, |
||
executeQuery ( $request_type ) : array | executeQuery executes either a collection or instance based on the request |
메소드 | 설명 | |
---|---|---|
isNestedResource ( ) : boolean | _isNestedResource - looks at the parent association to determine if the api parameters indicate a nested resource. |
public __construct ( array $apiQueryBuilders, |
||
$apiQueryBuilders | array | |
$requestContainer |
abstract public executeQuery ( $request_type ) : array | ||
리턴 | array |
protected isNestedResource ( ) : boolean | ||
리턴 | boolean |
protected array $apiQueryBuilders | ||
리턴 | array |
protected $builder |