Method | Description | |
---|---|---|
created ( array | object $object ) : Illuminate\Support\Facades\Response | Return a new "created" response object | |
deleted ( array | object $object = null ) : Illuminate\Support\Facades\Response | Return a new "deleted" response object | |
parseMultiple ( mixed $queryBuilder, array $fullTextSearchColumns = [], array | boolean $queryParams = false ) : |
Return a new Result object for multiple datasets | |
parseSingle ( mixed $queryBuilder, array | integer $identification, array | boolean $queryParams = false ) : Marcelgwerder\ApiHandler\Result | Return a new Result object for a single dataset | |
updated ( array | object $object = null ) : Illuminate\Support\Facades\Response | Return a new "updated" response object |
public parseMultiple ( mixed $queryBuilder, array $fullTextSearchColumns = [], array | boolean $queryParams = false ) : |
||
$queryBuilder | mixed | Some kind of query builder instance |
$fullTextSearchColumns | array | Columns to search in fulltext search |
$queryParams | array | boolean | A list of query parameter |
return |
public parseSingle ( mixed $queryBuilder, array | integer $identification, array | boolean $queryParams = false ) : Marcelgwerder\ApiHandler\Result | ||
$queryBuilder | mixed | Some kind of query builder instance |
$identification | array | integer | Identification of the dataset to work with |
$queryParams | array | boolean | The parameters used for parsing |
return | Marcelgwerder\ApiHandler\Result | Result object that provides getter methods |