UniqueSlug
in package
implements
Rule
Table of Contents
Interfaces
- Rule
Properties
Methods
- __construct() : mixed
- message() : mixed
- passes() : mixed
Properties
$id
Exclude id check.
private
mixed
$id
$phrase
private
string
$phrase
= 'validation.unique'
$type
private
string
$type
Methods
__construct()
public
__construct(string $type[, mixed $id = null ]) : mixed
Parameters
- $type : string
- $id : mixed = null
message()
public
message() : mixed
passes()
public
passes(mixed $attribute, mixed $value) : mixed
Parameters
- $attribute : mixed
- $value : mixed