/htdocs/symfony/2.0.0pr3/src/vendor/symfony/src/Symfony/Component/Validator/Constraints/Max.php
PHP | 25 lines | 15 code | 4 blank | 6 comment | 0 complexity | 23fc2f2e6cf793141fd1f359ccc793de MD5 | raw file
Possible License(s): LGPL-3.0, Apache-2.0, BSD-3-Clause, ISC, AGPL-3.0, LGPL-2.1
- <?php
- namespace Symfony\Component\Validator\Constraints;
- class Max extends \Symfony\Component\Validator\Constraint
- {
- public $message = 'Symfony.Validator.Max.message';
- public $limit;
- /**
- * {@inheritDoc}
- */
- public function defaultOption()
- {
- return 'limit';
- }
- /**
- * {@inheritDoc}
- */
- public function requiredOptions()
- {
- return array('limit');
- }
- }