ppi / framework

The PPI Framework Engine
http://www.ppi.io
MIT License
154 stars 30 forks source link

Module registerCommands to use namespace path instead of module path #159

Closed dragoonis closed 8 years ago

dragoonis commented 8 years ago

This is looking for /modules/MyModule/Command, and we need to grab the starting path from the Namespace, instead of the Module DIR.

https://github.com/ppi/framework/blob/5a1fd0ab4128743b5133c5fbda67239ac1d22664/src/Module/AbstractModule.php#L368