PHP Класс Marcelgwerder\ApiHandler\ApiHandler

Показать файл Открыть проект

Открытые методы

Метод Описание
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 ) : Result 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

Описание методов

created() публичный Метод

Return a new "created" response object
public created ( array | object $object ) : Illuminate\Support\Facades\Response
$object array | object
Результат Illuminate\Support\Facades\Response

deleted() публичный Метод

Return a new "deleted" response object
public deleted ( array | object $object = null ) : Illuminate\Support\Facades\Response
$object array | object
Результат Illuminate\Support\Facades\Response

parseMultiple() публичный Метод

Return a new Result object for multiple datasets
public parseMultiple ( mixed $queryBuilder, array $fullTextSearchColumns = [], array | boolean $queryParams = false ) : Result
$queryBuilder mixed Some kind of query builder instance
$fullTextSearchColumns array Columns to search in fulltext search
$queryParams array | boolean A list of query parameter
Результат Result

parseSingle() публичный Метод

Return a new Result object for a single dataset
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
Результат Marcelgwerder\ApiHandler\Result Result object that provides getter methods

updated() публичный Метод

Return a new "updated" response object
public updated ( array | object $object = null ) : Illuminate\Support\Facades\Response
$object array | object
Результат Illuminate\Support\Facades\Response