23 lines
400 B
Plaintext
23 lines
400 B
Plaintext
|
<?php
|
||
|
|
||
|
namespace $NAMESPACE$;
|
||
|
|
||
|
use Closure;
|
||
|
use Illuminate\Contracts\Validation\ValidationRule;
|
||
|
|
||
|
class $CLASS$ implements ValidationRule
|
||
|
{
|
||
|
/**
|
||
|
* Indicates whether the rule should be implicit.
|
||
|
*/
|
||
|
public bool $implicit = true;
|
||
|
|
||
|
/**
|
||
|
* Run the validation rule.
|
||
|
*/
|
||
|
public function validate(string $attribute, mixed $value, Closure $fail): void
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
}
|