JsonEncodingException
class JsonEncodingException extends RuntimeException (View source)
Методы
| static JsonEncodingException |
forModel(mixed $model, string $message)
Создать исключение кодирования JSON для модели. |
|
| static JsonEncodingException |
forResource(JsonResource $resource, string $message)
Создать исключение кодирования JSON для ресурса. |
|
| static JsonEncodingException |
forAttribute(mixed $model, mixed $key, string $message)
Создать исключение кодирования JSON для атрибута. |
Подробности
static JsonEncodingException forModel(mixed $model, string $message)
Создать исключение кодирования JSON для модели.
static JsonEncodingException forResource(JsonResource $resource, string $message)
Создать исключение кодирования JSON для ресурса.
static JsonEncodingException forAttribute(mixed $model, mixed $key, string $message)
Создать исключение кодирования JSON для атрибута.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Database/Eloquent/JsonEncodingException.html