@@ 218-222 (lines=5) @@ | ||
215 | if (isset($v[0]) && is_object($v[0])) { |
|
216 | if (isset($v[1]) && is_string($v[1])) { |
|
217 | $id = ++$this->counter; |
|
218 | if ($this->persistentMode) { |
|
219 | $this->persistentCallbacks[$id] = $v; |
|
220 | } else { |
|
221 | $this->callbacks[$id] = $v; |
|
222 | } |
|
223 | $v = ''; |
|
224 | $list[$id] = $path; |
|
225 | $list[$id][] = $k; |
|
@@ 235-239 (lines=5) @@ | ||
232 | array_pop($path); |
|
233 | } elseif ($v instanceof \Closure) { |
|
234 | $id = ++$this->counter; |
|
235 | if ($this->persistentMode) { |
|
236 | $this->persistentCallbacks[$id] = $v; |
|
237 | } else { |
|
238 | $this->callbacks[$id] = $v; |
|
239 | } |
|
240 | $v = ''; |
|
241 | $list[$id] = $path; |
|
242 | $list[$id][] = $k; |