class NestedRules (View source)
| protected callable | $callback | The callback to execute. |
| void | __construct(callable $callback)
Create a new nested rule instance. | |
| stdClass | compile(string $attribute, mixed $value, mixed $data = null, mixed $context = null)
Compile the callback into an array of rules. |
Create a new nested rule instance.
Compile the callback into an array of rules.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Validation/NestedRules.html