W3cubDocs

/Laravel 5.8

ImplicitRule

interface ImplicitRule implements Rule (View source)

Methods

bool passes(string $attribute, mixed $value)

Determine if the validation rule passes.

from Rule
string|array message()

Get the validation error message.

from Rule

Details

bool passes(string $attribute, mixed $value)

Determine if the validation rule passes.

Parameters

string $attribute
mixed $value

Return Value

bool

string|array message()

Get the validation error message.

Return Value

string|array

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