speakserve/forkcms — pull request #1 by ghazispeakserve (2014-07-01 12:12:37+00:00)
Title: Added getName method to ModuleInstaller.

The getName method in ModuleInstaller becomes available after calling addModule.

This particularly heplful for setting up the module. As an example instead of using :

$this->setActionRights(1, 'Providers', 'Index');

we would use

$this->setActionRights(1, $this->getName(), 'Index');

and have less chance to have typo errors