You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
544 B
19 lines
544 B
<?php
|
|
|
|
namespace App\Models\Validation\Messages;
|
|
|
|
use App\Models\Validation\Messages\InformativeValidator;
|
|
use App\Models\Validation\Validators\UpperRangeValidator;
|
|
|
|
class UpperRangeInformativeValidator extends InformativeValidator {
|
|
protected InformativeValidator $nextValidator;
|
|
|
|
public function __construct(string $message, UpperRangeValidator $validator, InformativeValidator $nextValidator)
|
|
{
|
|
$this->setMessage($message);
|
|
$this->setValidator($validator);
|
|
$this->nextValidator = $nextValidator;
|
|
}
|
|
}
|
|
|