Device.php 329 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace DeviceBundle\Validator\Constraints;
  3. use Symfony\Component\Validator\Constraint;
  4. /**
  5. * @Annotation
  6. */
  7. class Device extends Constraint
  8. {
  9. public $message = 'error.device_create';
  10. /**
  11. * @return string
  12. */
  13. public function getTargets()
  14. {
  15. return self::CLASS_CONSTRAINT;
  16. }
  17. }