Skip to content

Commit e8f264a

Browse files
author
Raymond Kolbe
committed
Updated the way we attach to events per ZF2 changes zendframework/zendframework@a8f15a7
1 parent 39d0226 commit e8f264a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DOMPDFModule/Module.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ class Module
6464
*/
6565
public function init(ModuleManager $moduleManager)
6666
{
67-
$moduleManager->events()->attach('loadModules.post', array($this, 'loadConfiguration'));
67+
$eventManager = $moduleManager->getEventManager();
68+
$eventManager->attach('loadModules.post', array($this, 'loadConfiguration'));
6869
}
6970

7071
/**

0 commit comments

Comments
 (0)