protected executeCallbacks ( ) : void | ||
return | void |
protected function executeCallbacks()
{
if ($this->callbacks_executed) {
return;
}
$this->callbacks_executed = true;
foreach ($this->callbacks as $callback) {
if ($q = call_user_func($callback, $this->query)) {
$this->query = $q;
}
}
}