123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <?php
- return [
-
- 'error_code' => false,
-
-
-
-
-
-
-
- 'enum' => \App\Repositories\Enums\ResponseCodeEnum::class,
-
- 'exception' => [
- \Illuminate\Validation\ValidationException::class => [
- 'code' => 422,
- ],
- \Illuminate\Auth\AuthenticationException::class => [
- ],
- \Symfony\Component\HttpKernel\Exception\NotFoundHttpException::class => [
- 'message' => '',
- ],
- \Illuminate\Database\Eloquent\ModelNotFoundException::class => [
- 'message' => '',
- ],
- ],
-
- 'format' => [
- 'fields' => [
- 'status' => ['alias' => 'status', 'show' => true],
- 'code' => ['alias' => 'code', 'show' => true],
- 'message' => ['alias' => 'message', 'show' => true],
- 'error' => ['alias' => 'error', 'show' => true],
- 'data' => [
- 'alias' => 'data',
- 'show' => true,
- 'fields' => [
-
- 'data' => ['alias' => 'list', 'show' => true],
- 'meta' => [
- 'alia' => 'meta',
- 'show' => true,
- 'fields' => [
- 'pagination' => [
- 'alias' => 'pagination',
- 'show' => true,
- 'fields' => [
- 'total' => ['alias' => 'total', 'show' => true],
- 'count' => ['alias' => 'count', 'show' => true],
- 'per_page' => ['alias' => 'per_page', 'show' => true],
- 'current_page' => ['alias' => 'current_page', 'show' => true],
- 'total_pages' => ['alias' => 'total_pages', 'show' => true],
- 'links' => [
- 'alias' => 'links',
- 'show' => true,
- 'fields' => [
- 'previous' => ['alias' => 'previous', 'show' => true],
- 'next' => ['alias' => 'next', 'show' => true],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ];
|