Overtrue\Validation\Validator::validateAfterWithFormat PHP Method

validateAfterWithFormat() protected method

Validate the date is after a given date with a given format.
protected validateAfterWithFormat ( string $format, mixed $value, array $parameters ) : boolean
$format string
$value mixed
$parameters array
return boolean
    protected function validateAfterWithFormat($format, $value, $parameters)
    {
        $param = $this->getValue($parameters[0]) ?: $parameters[0];
        return $this->checkDateTimeOrder($format, $param, $value);
    }
Validator