Skip to content

Instantly share code, notes, and snippets.

//AppBundle\Validator\Constraints\UniqueObject
<?php
namespace AppBundle\Validator\Constraints;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
use Symfony\Component\Validator\Exception\ConstraintDefinitionException;