Aaah, great idea. Thanks!

=========================
David Weinraub

[email protected]
Tel: +66 (81) 415-1245

Mailing Address:
P.O. Box 212
Patong Post Office
Kathu, Phuket 83150
THAILAND


On 6/16/2011 7:04 PM, Loïc Frering wrote:
You should extract the ResourceLoader from ZF2 to have PHP5.3 namespaces
support:
https://github.com/zendframework/zf2/blob/master/library/Zend/Loader/ResourceAutoloader.php

On Thu, Jun 16, 2011 at 11:59 AM, papayasoft <[email protected]
<mailto:[email protected]>> wrote:

    I note that this
    
http://stackoverflow.com/questions/4467139/zend-framework-1-11-doctrine-2-integration-autoloading-models-models-user-php/4470883#4470883
    Stackoverflow answer  seems to agree with Ben Eberlei.

    But I am seeing the same as Loïc Frering.

    I would like a class named `Application\Model\User` to be stored in
    the file
    `application/models/User.php`.

    The Zend resource autoloader does precisely this.

    The Doctrine `ClassLoader` seems to want that class to be in the file
    `application/Application/Model/User.php.`

    Anyone have an explanation or alternative approach?

    --
    View this message in context:
    
http://zend-framework-community.634137.n4.nabble.com/Doctrine-2-0-Entities-Models-Naming-and-Autoloading-tp1678427p3601997.html
    Sent from the Zend Framework mailing list archive at Nabble.com.

    --
    List: [email protected] <mailto:[email protected]>
    Info: http://framework.zend.com/archives
    Unsubscribe: [email protected]
    <mailto:[email protected]>





--
Loïc Frering
[email protected] <mailto:[email protected]>

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to