mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add support for mapping a namespace prefix onto many dirs in the autoload config
This commit is contained in:
parent
f7affa21b0
commit
30cfb69739
5 changed files with 15 additions and 6 deletions
|
@ -77,7 +77,7 @@ class AutoloadGeneratorTest extends TestCase
|
|||
{
|
||||
$package = new MemoryPackage('a', '1.0', '1.0');
|
||||
$package->setAutoload(array(
|
||||
'psr-0' => array('Main' => 'src/', 'Lala' => 'src/'),
|
||||
'psr-0' => array('Main' => 'src/', 'Lala' => array('src/', 'lib/')),
|
||||
'classmap' => array('.composersrc/'),
|
||||
));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue