42 $_profilerKey =
'OBSERVER: ';
43 if (is_object($callback[0])) {
44 $_profilerKey .= get_class($callback[0]);
46 $_profilerKey .= (string)$callback[0];
48 $_profilerKey .=
' -> ' . $callback[1];
50 \Magento\Framework\Profiler::start($_profilerKey);
52 \Magento\Framework\Profiler::stop($_profilerKey);
79 return $this->
getData(
'event_name');
96 return $this->
getData(
'callback');
115 return $this->
getData(
'event');
getData($key='', $index=null)
call_user_func($callable, $param)
setData($key, $value=null)