\App\RulesSlugRule

Validation rule that asserts that the value consists only of letters, numbers, dashes and underscores.

Summary

Methods
Properties
Constants
passes()
message()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

passes()

passes(string  $attribute, mixed  $value) : boolean

Determine if the validation rule passes.

Parameters

string $attribute
mixed $value

Returns

boolean

message()

message() : string

Get the validation error message.

Returns

string