public function invokeWithArgs($args)
    {
        if (!is_array($args)) {
            throw new \InvalidArgumentException(
                sprintf("Parameter 1 of %s must be an array.", __METHOD__)
            );
        }

        return call_user_func_array(
            [$this->method['instance'], $this->method['method']], $args
        );
    }
public function invokeWithArgs($args)
    {
        if (!is_array($args)) {
            throw new \InvalidArgumentException(
                sprintf("Parameter 1 of %s must be an array.", __METHOD__)
            );
        }

        return call_user_func_array(
            [$this->method['instance'], $this->method['method']], $args
        );
    }
{@inheritdoc}