mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-786: Proxy Generation, Zend, and Pear Convention Name #967
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 (Sep 3, 2010).
Jira issue originally created by user throrin19:
In Zend Framework 1.10, the classNames are using the Pear Convention Name :
class Model_Proxy_ClassName = /model/Proxy/ClassName.php
But, in the Proxy Generation Classes, Doctrine2 use PHP5.3 Namespaces + Entity ClassName.
This has the result of not respecting the Convention PEAR and unfortunately there is no option to switch to Doctrine and told them to format the name of the classes.
For example :
Entity class: TLangue.php :
And the Proxy Generation:
Proxy CLass: Model_Entity_TLangueProxy.php:
An I would like this result for the Proxy Class:
Proxy CLass: TLangue.php
Is it possible to get this result?
@doctrinebot commented on GitHub (Oct 23, 2010):
Comment created by gog:
Why don't you use Doctrines auto loader for loading entities and proxies?
Here is a snippet from my ZF Boostrap:
Once ZF2 is finished you will have a ZF autoloader with namespace support.
I do not think this is something Doctrine should care about.
@doctrinebot commented on GitHub (Oct 29, 2010):
Comment created by @beberlei:
Doctrine2 follows the PSR-0 standard for autoloading which works on namespaces, not the underscore. There won't be special logic to fix this for the old PEAR/Zend Standard.
@doctrinebot commented on GitHub (Oct 29, 2010):
Issue was closed with resolution "Invalid"