Property | Type | Description | |
---|---|---|---|
$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. |
Method | Description | |
---|---|---|
__construct ( array $apiQueryBuilders, |
||
executeQuery ( $request_type ) : array | executeQuery executes either a collection or instance based on the request |
Method | Description | |
---|---|---|
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 | ||
return | array |
protected isNestedResource ( ) : boolean | ||
return | boolean |
protected array $apiQueryBuilders | ||
return | array |
protected $builder |