private function TraceableEventDispatcher::isClosure in Devel 8.2
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()
- 4.x 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 210
Class
- TraceableEventDispatcher
- Class TraceableEventDispatcher
Namespace
Drupal\webprofiler\EventDispatcherCode
private function isClosure($t) {
return is_object($t) && $t instanceof \Closure;
}