public function setExcludeMethods($methods)
    {
        if (is_string($methods)) {
            $methods = array($methods);
        }
        foreach ($methods as $method) {
            $this->addFilter($method, new MethodMatchFilter($method), FilterComposite::CONDITION_AND);
        }
    }