메소드 | 설명 | |
---|---|---|
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 | |
리턴 | 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 | |
리턴 | Illuminate\Contracts\Routing\ResponseFactory |