Свойство | Тип | Описание | |
---|---|---|---|
$pageSize | integer | ||
$serializer | NilPortugues\Laravel5\JsonApi\JsonApiSerializer |
Метод | Описание | |
---|---|---|
__construct ( NilPortugues\Laravel5\JsonApi\JsonApiSerializer $serializer ) | ||
getDataModel ( ) : |
Returns an Eloquent Model. |
Метод | Описание | |
---|---|---|
addHeaders ( |
||
createResourceCallable ( ) : callable | Reads the input and creates and saves a new Eloquent Model. | |
deleteResourceCallable ( $id ) : Closure | ||
findResourceCallable ( $id ) : callable | ||
listResourceCallable ( ) : callable | Returns a list of resources based on pagination criteria. | |
patchAction ( Illuminate\Http\Request $request, $id ) : |
||
putAction ( Illuminate\Http\Request $request, $id ) : |
||
totalAmountResourceCallable ( ) : callable | Returns the total number of results available for the current resource. | |
updateResourceCallable ( ) : callable | ||
uriGenerator ( $controllerAction ) : mixed |
public __construct ( NilPortugues\Laravel5\JsonApi\JsonApiSerializer $serializer ) | ||
$serializer | NilPortugues\Laravel5\JsonApi\JsonApiSerializer |
protected addHeaders ( |
||
$response | ||
Результат |
protected createResourceCallable ( ) : callable | ||
Результат | callable |
protected deleteResourceCallable ( $id ) : Closure | ||
$id | ||
Результат | Closure |
protected findResourceCallable ( $id ) : callable | ||
$id | ||
Результат | callable |
abstract public getDataModel ( ) : |
||
Результат |
protected listResourceCallable ( ) : callable | ||
Результат | callable |
protected patchAction ( Illuminate\Http\Request $request, $id ) : |
||
$request | Illuminate\Http\Request | |
$id | ||
Результат |
protected putAction ( Illuminate\Http\Request $request, $id ) : |
||
$request | Illuminate\Http\Request | |
$id | ||
Результат |
protected totalAmountResourceCallable ( ) : callable | ||
Результат | callable |
protected updateResourceCallable ( ) : callable | ||
Результат | callable |
protected uriGenerator ( $controllerAction ) : mixed | ||
$controllerAction | ||
Результат | mixed |