public function runDirectives(QueryInterface $query, array $skipDirective = [])
{
foreach ($this->directives as $key => $value) {
if (!in_array($key, $skipDirective)) {
if ($this->hasDirectiveHandler($key)) {
if (is_callable($this->getDirectiveHandler($key))) {
call_user_func_array($this->getDirectiveHandler($key), [$query, $value]);
}
}
}
}
}