fix naming

This commit is contained in:
yuri
2017-04-10 12:19:12 +03:00
parent fed5e6ded7
commit 7992b78d4e

View File

@@ -46,10 +46,10 @@ class HookManager
*
* @var array
*/
protected $ignoredMethods = array(
protected $ignoredMethodList = array(
'__construct',
'getDependencyList',
'inject',
'inject'
);
protected $paths = array(
@@ -168,7 +168,7 @@ class HookManager
$className = Util::getClassName($hookFilePath);
$classMethods = get_class_methods($className);
$hookMethods = array_diff($classMethods, $this->ignoredMethods);
$hookMethods = array_diff($classMethods, $this->ignoredMethodList);
foreach($hookMethods as $hookName) {
$entityHookData = isset($hookData[$scopeName][$hookName]) ? $hookData[$scopeName][$hookName] : array();