Pipe\DirectiveProcessor::executeDirective PHP Метод

executeDirective() защищенный Метод

# Returns the return value of the directive's callback.
protected executeDirective ( $directive, $context, $argv )
    protected function executeDirective($directive, $context, $argv)
    {
        if (!$this->isRegistered($directive)) {
            throw new \RuntimeException(sprintf("Undefined Directive \"%s\" in %s", $directive, $this->source));
        }
        $callback = $this->directives[$directive];
        array_unshift($argv, $context);
        return call_user_func_array($callback, $argv);
    }