private function TraceableEventDispatcher::isClosure in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/EventDispatcher/TraceableEventDispatcher.php \Drupal\webprofiler\EventDispatcher\TraceableEventDispatcher::isClosure()
- 8 webprofiler/src/EventDispatcher/TraceableEventDispatcher.php \Drupal\webprofiler\EventDispatcher\TraceableEventDispatcher::isClosure()
- 8.2 webprofiler/src/EventDispatcher/TraceableEventDispatcher.php \Drupal\webprofiler\EventDispatcher\TraceableEventDispatcher::isClosure()
1 call to TraceableEventDispatcher::isClosure()
- TraceableEventDispatcher::addCalledListener in webprofiler/
src/ EventDispatcher/ TraceableEventDispatcher.php
File
- webprofiler/
src/ EventDispatcher/ TraceableEventDispatcher.php, line 223
Class
- TraceableEventDispatcher
- Class TraceableEventDispatcher.
Namespace
Drupal\webprofiler\EventDispatcherCode
private function isClosure($t) {
return is_object($t) && $t instanceof \Closure;
}