On this page
NestedRules
class NestedRules (View source)
Properties
protected callable | $callback | The callback to execute. |
Methods
void | __construct(callable $callback) Create a new nested rule instance. |
|
stdClass | compile(string $attribute, mixed $value, mixed $data = null) Compile the callback into an array of rules. |
Details
void __construct(callable $callback)
Create a new nested rule instance.
stdClass compile(string $attribute, mixed $value, mixed $data = null)
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/10.x/Illuminate/Validation/NestedRules.html