add the support to register module paths over namespace #2754

Closed
wants to merge 5 commits into
from

Projects

None yet

2 participants

@ClemensSahs

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.

ClemensSahs added some commits Oct 14, 2012
@ClemensSahs ClemensSahs - add the support to register module paths over namespace
Signed-off-by: Clemens Sahs <clemens.sahs@slides-worker.org>
63ea797
@ClemensSahs ClemensSahs - Add Unit Test for namespaced module paths
Signed-off-by: Clemens Sahs <csahs@slides-worker.org>
09a47a6
@ClemensSahs ClemensSahs - replace tabs with 4 spaces
Signed-off-by: Clemens Sahs <csahs@slides-worker.org>
70b6621
@ClemensSahs ClemensSahs repair some typo 1ec08fa
@ClemensSahs ClemensSahs remove trailing_spaces a8cbb96
@weierophinney weierophinney added a commit that referenced this pull request Oct 16, 2012
@weierophinney weierophinney [#2754] CS fixes
- Trailing whitespace
a228f22
@weierophinney weierophinney added a commit that referenced this pull request Oct 16, 2012
@weierophinney weierophinney [#2754] Removed obsolete test
- 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.
81cf86a
@weierophinney weierophinney added a commit that referenced this pull request Oct 16, 2012
@weierophinney weierophinney Merge branch 'hotfix/2754' into develop
Forward port #2754

Conflicts:
	tests/ZendTest/Loader/ModuleAutoloaderTest.php
8a9b425
@weierophinney weierophinney added a commit that closed this pull request Oct 16, 2012
@weierophinney weierophinney Merge branch 'hotfix/2754'
Close #2754
a22fab4
@ghost Unknown pushed a commit that referenced this pull request Jul 14, 2013
@weierophinney weierophinney [#2754] CS fixes
- Trailing whitespace
d8f29b5
@ghost Unknown pushed a commit that referenced this pull request Jul 14, 2013
@weierophinney weierophinney [#2754] Removed obsolete test
- 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.
b296b56
@ghost Unknown pushed a commit that referenced this pull request Jul 14, 2013
@weierophinney weierophinney Merge branch 'hotfix/2754'
Close #2754
622da3c
@ghost Unknown pushed a commit that referenced this pull request Jul 14, 2013
@weierophinney weierophinney Merge branch 'hotfix/2754' into develop
Forward port #2754

Conflicts:
	tests/ZendTest/Loader/ModuleAutoloaderTest.php
425d316
@weierophinney weierophinney added a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
@weierophinney weierophinney [zendframework/zendframework#2754] CS fixes
- Trailing whitespace
f762054
@weierophinney weierophinney added a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
@weierophinney weierophinney [zendframework/zendframework#2754] Removed obsolete test
- 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.
eec0363
@weierophinney weierophinney added a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
@weierophinney weierophinney Merge branch 'hotfix/2754' 27c9604
@weierophinney weierophinney added a commit to zendframework/zend-loader that referenced this pull request May 15, 2015
@weierophinney weierophinney Merge branch 'hotfix/2754' into develop
Forward port zendframework/zendframework#2754

Conflicts:
	tests/ZendTest/Loader/ModuleAutoloaderTest.php
820c39f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment