Lines Matching refs:handler
152 foreach ($handlers as $handler) {
153 self::callHandler($id, $value, $handler);
163 foreach ($handlers as $handler) {
164 self::callHandler(1, $value, $handler);
168 foreach ($handlers as $handler) {
169 self::callHandler(2, $reason, $handler);
181 * @param array $handler Array of handler data (promise and callbacks).
183 private static function callHandler($index, $value, array $handler) argument
186 $promise = $handler[0];
195 if (isset($handler[$index])) {
202 $f = $handler[$index];
203 unset($handler);