Drupal investigation

Currency.php 803B

123456789101112131415161718192021222324252627282930313233
  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 Miha Vrhovnik <miha.vrhovnik@pagein.si>
  17. * @author Bernhard Schussek <bschussek@gmail.com>
  18. */
  19. class Currency extends Constraint
  20. {
  21. const NO_SUCH_CURRENCY_ERROR = '69945ac1-2db4-405f-bec7-d2772f73df52';
  22. protected static $errorNames = array(
  23. self::NO_SUCH_CURRENCY_ERROR => 'NO_SUCH_CURRENCY_ERROR',
  24. );
  25. public $message = 'This value is not a valid currency.';
  26. }