Méthode | Description | |
---|---|---|
errorWrongArgsValidator ( Illuminate\Contracts\Validation\Validator $validator ) : Illuminate\Contracts\Routing\ResponseFactory | Generates a Response with a 400 HTTP header and a given message from validator | |
withArray ( array $array, array $headers = [] ) : Illuminate\Contracts\Routing\ResponseFactory | ||
withPaginator ( Illuminate\Contracts\Pagination\LengthAwarePaginator $paginator, callable | League\Fractal\TransformerAbstract $transformer, string $resourceKey = null, array $meta = [] ) : Illuminate\Contracts\Routing\ResponseFactory | Respond with a paginator, and a transformer. |
public errorWrongArgsValidator ( Illuminate\Contracts\Validation\Validator $validator ) : Illuminate\Contracts\Routing\ResponseFactory | ||
$validator | Illuminate\Contracts\Validation\Validator | |
Résultat | Illuminate\Contracts\Routing\ResponseFactory |
public withPaginator ( Illuminate\Contracts\Pagination\LengthAwarePaginator $paginator, callable | League\Fractal\TransformerAbstract $transformer, string $resourceKey = null, array $meta = [] ) : Illuminate\Contracts\Routing\ResponseFactory | ||
$paginator | Illuminate\Contracts\Pagination\LengthAwarePaginator | |
$transformer | callable | League\Fractal\TransformerAbstract | |
$resourceKey | string | |
$meta | array | |
Résultat | Illuminate\Contracts\Routing\ResponseFactory |