oont-contents/plugins/mailpoet/vendor-prefixed/symfony/validator/Constraints/DivisibleBy.php
2025-02-08 15:10:23 +01:00

10 lines
483 B
PHP

<?php
namespace MailPoetVendor\Symfony\Component\Validator\Constraints;
if (!defined('ABSPATH')) exit;
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
class DivisibleBy extends AbstractComparison
{
public const NOT_DIVISIBLE_BY = '6d99d6c3-1464-4ccf-bdc7-14d083cf455c';
protected static $errorNames = [self::NOT_DIVISIBLE_BY => 'NOT_DIVISIBLE_BY'];
public $message = 'This value should be a multiple of {{ compared_value }}.';
}