When using a doctrine writer, is there a way to take advantage of the doctrine annotations already there ?
// Doctrine entity class
/**
* @var string
*
* @ORM\Column(type="string", length=150, nullable=false)
* @Assert\NotBlank
*/
private $name;
So we don't have to redefine them in a ValidatorFilter.
Or do we have to use reflection to inject them into ValidatorFilters ?
When using a doctrine writer, is there a way to take advantage of the doctrine annotations already there ?
So we don't have to redefine them in a
ValidatorFilter.Or do we have to use reflection to inject them into
ValidatorFilters ?