Spec-Zone.ru › Laravel 9

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 для модели.

Параметры

mixed $model
string $message

Возвращаемое значение

JsonEncodingException

static JsonEncodingException forResource(JsonResource $resource, string $message)

Создать исключение кодирования JSON для ресурса.

Параметры

JsonResource $resource
string $message

Возвращаемое значение

JsonEncodingException

static JsonEncodingException forAttribute(mixed $model, mixed $key, string $message)

Создать исключение кодирования JSON для атрибута.

Параметры

mixed $model
mixed $key
string $message

Возвращаемое значение

JsonEncodingException

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/9.x/Illuminate/Database/Eloquent/JsonEncodingException.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API