Allow customization of controller namespace #282

This commit is contained in:
Lorenzo Milesi
2018-10-24 08:06:38 +02:00
parent 5ef46729d0
commit 07699f4197
4 changed files with 19 additions and 2 deletions

View File

@ -145,6 +145,14 @@ class Module extends BaseModule
* to compute the hash doubles for every increment by one of $cost
*/
public $blowfishCost = 10;
/**
* @var string Web controller namespace
*/
public $controllerNamespace = 'Da\User\Controller';
/**
* @var string Console controller namespace
*/
public $consoleControllerNamespace = 'Da\User\Command';
/**
* @var array the class map. How the container should load specific classes
* @see Bootstrap::buildClassMap() for more details