Intenta hacer coincidir las carpetas con el NS, las carpetas deberian ser:
lib/model/Entities
lib/model/Proxies
Código PHP:
Ver original$entitiesClassLoader = new ClassLoader('Entities', __DIR__ . "/../model/Entities");
$entitiesClassLoader->register();
$proxiesClassLoader = new ClassLoader('proxies', __DIR__ . "/../model/Proxies");
$proxiesClassLoader->register();
....
$driverImpl = $config->newDefaultAnnotationDriver(array(__DIR__
. "/../model/Entities")); $config->setMetadataDriverImpl($driverImpl);
$config->setProxyDir(__DIR__ . '/../model/Proxies');
$config->setProxyNamespace('Proxies');