No, you need to register the Doctrine ORM namespace (the one that contains
the annotations)

Cheers!
On Nov 30, 2014 10:47 AM, "Pavel Sokolov" <[email protected]> wrote:

> I have tried to use callback:
>>
>> \Doctrine\Common\Annotations\AnnotationRegistry::registerLoader(function(
>> $class) {
>>     echo 'TEST:'.$class.PHP_EOL;
>> });
>>
>>
>> I see the next result:
>> TEST: Doctrine\ORM\Mapping\ORM\Table
>> TEST: Doctrine\ORM\Mapping\ORM\Entity
>>
>>
>> But seems that it should look like this:
>> TEST: Doctrine\ORM\Mapping\Table
>> TEST: Doctrine\ORM\Mapping\Entity
>>
>>
>> May be it is bug in doctrine?
>>
> -
>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to