hooked.php

Event hook dispatch utility
git clone git://git.finwo.net/lib/hooked.php
Log | Files | Refs

commit 226ec621eb08c98224e2402a3ec43801088b101b
parent c36e8d75e9800b1db89c4df3af849ac2b9ee9760
Author: finwo <finwo@pm.me>
Date:   Fri, 22 Apr 2016 22:17:46 +0200

Referenced parameters

Diffstat:
Msrc/Event.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Event.php b/src/Event.php @@ -26,10 +26,10 @@ class Event * @param string $name * @param array $parameters */ - public function __construct($name = '', $parameters = array()) + public function __construct($name = '', &$parameters = array()) { $this->name = $name; - $this->param = $parameters; + $this->param = &$parameters; } /**