/home/techb158/immovalet.com/vendor/botble/platform/base/src/Supports
Edit: /home/techb158/immovalet.com/vendor/botble/platform/base/src/Supports/Action.php (955B)
getListeners()) {
return;
}
foreach ($this->getListeners() as $hook => $listeners) {
krsort($listeners);
foreach ($listeners as $arguments) {
if ($hook !== $action) {
continue;
}
$parameters = [];
for ($index = 0; $index < $arguments['arguments']; $index++) {
if (isset($args[$index])) {
$parameters[] = $args[$index];
}
}
call_user_func_array($this->getFunction($arguments['callback']), $parameters);
}
}
}
}