Skip to content

Commit a87eba7

Browse files
committed
switching listeners to get/set
1 parent b4581ea commit a87eba7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/PatternLab/Listener.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,11 @@ protected function addListener($eventName,$callable, $priority = 0) {
3131

3232
}
3333

34+
/**
35+
* Get the list of listeners
36+
*/
37+
public function getListeners() {
38+
return $this->listeners;
39+
}
40+
3441
}

0 commit comments

Comments
 (0)