Closed cornernote closed 5 years ago
If you try to do something like this in your config array, all hell breaks loose:
'modules' => [ 'audit' => [ //'class' => 'bedezign\yii2\audit\Audit', 'class' => 'app\components\audit\Audit', ], ],
The reason is because Audit::getInstance() uses the calling class's name.
Audit::getInstance()
getInstance method was overridden to allow exactly this.
getInstance
If you try to do something like this in your config array, all hell breaks loose:
The reason is because
Audit::getInstance()
uses the calling class's name.