* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\ConstraintValidator\Constraints; use PrestaShop\PrestaShop\Core\ConstraintValidator\DateRangeValidator; use Symfony\Component\Validator\Constraint; /** * Provides date range validation */ class DateRange extends Constraint { public $message = 'The selected date range is not valid.'; /** * {@inheritdoc} */ public function validatedBy() { return DateRangeValidator::class; } }