Spec-Zone.ru › Laravel 11

InvokableRule deprecated

интерфейс InvokableRule (View source)

deprecated

см. ValidationRule

Методы

void __invoke(string $attribute, mixed $value, Closure $fail)

Выполнить правило валидации.

Подробности

void __invoke(string $attribute, mixed $value, Closure $fail)

Выполнить правило валидации.

Параметры

string $attribute
mixed $value
Closure $fail

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

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Contracts/Validation/InvokableRule.html

Spec-Zone.ru

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