Hello. I have the following question - is it possible to use the use namespace for annotations in Symfony 2?
Example
namespace classes; use OtherClass\Photo; class Place { /** * @ORM\OneToMany(targetEntity="Photo") // OtherClass\Photo; */ private $photo; } Does not work.
Writes that
The target-entity classes\Photo cannot be found in .... What am I doing wrong?