CoreFiles by mySites.guru
NegativeOrZero.php26 lines, 681 bytes, from Joomla_5.3.3-Stable-Full_Package.zip
Raw History Compare with 5.3.2
md5
3ae4ad52b5a5f9c3488885ad0acd127d
sha1
220a1ca652bddc9a415e788753e6159b39edb372
sha256
c7e07cc49c209436d1da576ec652a0bf12ed8527004dcdbeb090f372c5ad6264
<?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 NegativeOrZero extends LessThanOrEqual
{
    use ZeroComparisonConstraintTrait;

    public $message = 'This value should be either negative 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.