/htdocs/symfony/2.0.0pr2/src/vendor/symfony/src/Symfony/Components/Validator/Constraints/Max.php
http://github.com/pmjones/php-framework-benchmarks · PHP · 25 lines · 15 code · 4 blank · 6 comment · 0 complexity · dafda7140d120b3ba0145d6cb2481407 MD5 · raw file
- <?php
- namespace Symfony\Components\Validator\Constraints;
- class Max extends \Symfony\Components\Validator\Constraint
- {
- public $message = 'Symfony.Validator.Max.message';
- public $limit;
- /**
- * {@inheritDoc}
- */
- public function defaultOption()
- {
- return 'limit';
- }
- /**
- * {@inheritDoc}
- */
- public function requiredOptions()
- {
- return array('limit');
- }
- }