123456789101112131415161718192021222324 |
- <?php
- namespace DeviceBundle\Validator\Constraints;
- use Symfony\Component\Validator\Constraint;
- /**
- * @Annotation
- */
- class Device extends Constraint
- {
- public $message = 'error.device_create';
- /**
- * @return string
- */
- public function getTargets()
- {
- return self::CLASS_CONSTRAINT;
- }
- }
|