how do i setup the autoloader to find all classes in the namespace 'Entities
' and 'Proxies
' in APPLICATION_PATH . '/Entities'
and 'APPLICATION_PATH . '/Proxies'
' respectively.
UPDATE
i managed to make it work putting \Entities
and \Proxies
in \library\Application
and add autoloaderNamespaces[] = Application
in application.ini
. but what if i want to put them in APPLICATION_PATH instead and point the autoloader to find classes with the namespaces Entities
& Proxies
in the APPLICATION_PATH
FYI: i am using PHP 5.3 namespaces if that matters. i am using doctrine