You can as well use the Composer autoloader, it works almost the same. I
only used the Doctrine autoloader because of the underscores I sometimes
had in my classnames.
With something like this you can use the Composer autoloader to register
namespaces:
$loader = new \Composer\Autoload\ClassLoader();$loader->add($namespace,
$path);$loader->add($anotherNamespace, $anotherPath); //etc...
$loader->register();
I never used composer_namespaces.php, but you are probably right. Please
let us know if you have figured that out exactly. Thanks.
On Friday, 7 February 2014 11:40:50 UTC+1, Parsifal wrote:
>
> Thanks for the advice I'll add this to bootstrap as you said
> doctrineLoader = new ClassLoader('Entities','path/to/entities-folder');
> $doctrineLoader->register();
> I too prefer to rename /vendor/ to 3rdparty/ so which files shoul I edit?
> Only compser_namespaces.php is enough to edit in order to rename /vendor/
> folder?
>
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.