Lines Matching refs:listenerId
77 $listenerId = 'foo',
83 ->when($result = $listener->attach($listenerId, $callable))
87 ->array($listener->fire($listenerId, new LUT\Bucket()))
96 $listenerId = 'bar',
100 ->exception(function () use ($listener, $listenerId, $callable) {
101 $listener->attach($listenerId, $callable);
111 $listenerId = 'foo',
116 $listener->attach($listenerId, $callable)
118 ->when($result = $listener->detach($listenerId, $callable))
122 ->array($listener->fire($listenerId, new LUT\Bucket()))
131 $listenerId = 'bar',
135 ->when($result = $listener->detach($listenerId, $callable))
146 $listenerId = 'foo',
149 ->when($result = $listener->detachAll($listenerId))
153 ->boolean($listener->listenerExists($listenerId))
162 $listenerId = 'bar',
165 ->when($result = $listener->detachAll($listenerId))
202 $listenerId = 'foo',
205 $listenerId,
219 ->when($result = $listener->fire($listenerId, $bucket))