mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1249: Comment @var will be loaded through AnnotationRegistry? #1570
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jul 5, 2011).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user h-andreas:
Plugging in version 2.1 of Doctrine2 and Common gives me some fatal errors
require() [function.require]: Failed opening required 'Doctrine/ORM/Mapping/var.php. Are Doc Comments like @var handled through the autoloading process?Is this a bug or am i doing something wrong? Using Zend, i'm doing the following in bootstrap
@doctrinebot commented on GitHub (Jul 5, 2011):
Comment created by @beberlei:
The autoloader has to be silent, Doctrine\Common\ClassLoader is not.
You should use the migration help provided in the https://github.com/doctrine/doctrine2/blob/master/UPGRADETO_21 file.
If you are just using the Doctrine ORM Annotations you should put the following into your bootstrap:
If you are using own annotations aswell you can see the docs how it works: http://www.doctrine-project.org/projects/common/2.1/docs/en
@doctrinebot commented on GitHub (Jul 5, 2011):
Issue was closed with resolution "Invalid"