mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 09:23:20 +02:00
DDC-96: Problem using Doctrine Autoloaders from Global Namespace #120
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 (Nov 2, 2009).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user @beberlei:
The Doctrine Autoloaders don't work from the global namespace in the following context:
The prefix slash is not matched and the doctrine autoloader fails.
@doctrinebot commented on GitHub (Nov 2, 2009):
Comment created by @beberlei:
The problem is rather that i want to address a class by its fully qualified name:
The IsolatedClassLoader tries to match the namespace against the class:
And the strpos prefix check fails on this.
@doctrinebot commented on GitHub (Nov 2, 2009):
Comment created by romanb:
Namespaces in strings are always fully qualified so there is no need for the leading backslash.
@doctrinebot commented on GitHub (Nov 2, 2009):
Comment created by @beberlei:
This was just a typo in the class name, sorry :)
@doctrinebot commented on GitHub (Nov 2, 2009):
Issue was closed with resolution "Invalid"