Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

add the support to register module paths over namespace #2754

Conversation

ClemensSahs
Copy link
Contributor

so you can define one path for all included Modules

like:

return array(
    'modules' => array(
        'Namespace\ModuleA',
        'Namespace\ModuleB',
    ),
    'module_listener_options' => array(
        'config_glob_paths'    => array(
            'config/autoload/{,*.}{global,local}.php',
        ),
        'module_paths' => array(
            'Namespace\*'=>'./vendor/projektX/module_share/',
        ),
    ),
);

The namespace map, runs after the explicitPaths. This allows you still defined a explicitPath for some modules.

Signed-off-by: Clemens Sahs <clemens.sahs@slides-worker.org>
Signed-off-by: Clemens Sahs <csahs@slides-worker.org>
Signed-off-by: Clemens Sahs <csahs@slides-worker.org>
@ghost ghost assigned weierophinney Oct 16, 2012
weierophinney added a commit that referenced this pull request Oct 16, 2012
- Trailing whitespace
weierophinney added a commit that referenced this pull request Oct 16, 2012
- For some reason, ZendTest\Loader\AutoloaderMultiVersionTest was still in
  place, despite the fact that it tests functionality that has been removed some
  time ago. Removed.
weierophinney added a commit that referenced this pull request Oct 16, 2012
Forward port #2754

Conflicts:
	tests/ZendTest/Loader/ModuleAutoloaderTest.php
weierophinney added a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
- For some reason, ZendTest\Loader\AutoloaderMultiVersionTest was still in
  place, despite the fact that it tests functionality that has been removed some
  time ago. Removed.
weierophinney added a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
weierophinney added a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
Forward port zendframework/zendframework#2754

Conflicts:
	tests/ZendTest/Loader/ModuleAutoloaderTest.php
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants