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

Added ability to ignore namespaces to classmap generator #3896

Merged
merged 2 commits into from
Mar 11, 2013
Merged

Added ability to ignore namespaces to classmap generator #3896

merged 2 commits into from
Mar 11, 2013

Conversation

Freeaqingme
Copy link
Member

This PR allows one to scan an entire project dir at once, and merely specify the namespaces he doesn't want to index (e.g. ZendTest).

@@ -53,6 +53,7 @@
'output|o-s' => 'Where to write autoload file; if not provided, assumes "autoload_classmap.php" in library directory',
'append|a' => 'Append to autoload file if it exists',
'overwrite|w' => 'Whether or not to overwrite existing autoload file',
'ignore|i-s' => 'Comma-separated namespaces to ignore',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be added to the class docblock too

@Freeaqingme
Copy link
Member Author

Updated

@prolic
Copy link
Contributor

prolic commented Mar 2, 2013

Good job! Can you do the same for class prefixes? e.g. I want to remove ZendTest_* from my classmaps.

@ghost ghost assigned weierophinney Mar 8, 2013
weierophinney added a commit that referenced this pull request Mar 11, 2013
Added ability to ignore namespaces to classmap generator
weierophinney added a commit that referenced this pull request Mar 11, 2013
@weierophinney weierophinney merged commit 26205ea into zendframework:develop Mar 11, 2013
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.

4 participants