Drupal investigation

Time.php 867B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\Validator\Constraints;
  11. use Symfony\Component\Validator\Constraint;
  12. /**
  13. * @Annotation
  14. * @Target({"PROPERTY", "METHOD", "ANNOTATION"})
  15. *
  16. * @author Bernhard Schussek <bschussek@gmail.com>
  17. */
  18. class Time extends Constraint
  19. {
  20. const INVALID_FORMAT_ERROR = '9d27b2bb-f755-4fbf-b725-39b1edbdebdf';
  21. const INVALID_TIME_ERROR = '8532f9e1-84b2-4d67-8989-0818bc38533b';
  22. protected static $errorNames = array(
  23. self::INVALID_FORMAT_ERROR => 'INVALID_FORMAT_ERROR',
  24. self::INVALID_TIME_ERROR => 'INVALID_TIME_ERROR',
  25. );
  26. public $message = 'This value is not a valid time.';
  27. }