CoreFiles by mySites.guru
PositiveOrZero.php26 lines, 684 bytes, from Joomla_6.0.2-Stable-Full_Package.zip
Raw History Compare with 6.0.1
md5
8fab6a57a67f67b898441e231b883f3a
sha1
026a171d6d542074e5ee075efc3da4765e9dec6a
sha256
a86f06d4f1df9149011bf86b2deaea756129ccd5ba84e11781fd48bb49373f5e
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\Validator\Constraints;

/**
 * @Annotation
 * @Target({"PROPERTY", "METHOD", "ANNOTATION"})
 *
 * @author Jan Schädlich <[email protected]>
 */
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]
class PositiveOrZero extends GreaterThanOrEqual
{
    use ZeroComparisonConstraintTrait;

    public $message = 'This value should be either positive or zero.';
}

The same content is in 136 releases, Joomla 5.1.0-beta1 to 6.3.0-alpha1. See them all, or every version of this file.