You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use @Inject on a file containing such annotations will cause an error. This is because Doctrine's annotation reader tries to read ALL annotations in the file.
There is now a SimpleAnnotationReader that allows to read only specific annotations, so that's a solution.
Furthermore, this alternate reader makes the import (use DI\Annotation\Inject) optional, which is awesome.
The text was updated successfully, but these errors were encountered:
Example:
Trying to use @Inject on a file containing such annotations will cause an error. This is because Doctrine's annotation reader tries to read ALL annotations in the file.
There is now a
SimpleAnnotationReader
that allows to read only specific annotations, so that's a solution.Furthermore, this alternate reader makes the import (
use DI\Annotation\Inject
) optional, which is awesome.The text was updated successfully, but these errors were encountered: