forkcms/forkcms — pull request #772 by ghazispeakserve (2014-07-01 12:14:13+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