protected function __ignoreFromDocBlock()
    {
        $ref = $this->_newReflection();

        // ignored methods from Class DocComment:
        $classDocComment = $ref->getDocComment();
        if ($classDocComment !== false && preg_match_all('/.*[\n]?/', $classDocComment, $lines)) {
            $lines = $lines[0];
            $regex = '/.+(@method).+((?P<method_name>\b\w+)\(.*\))\s@ignore\s/';
            foreach($lines as $line) {
                if (preg_match($regex, $line, $matches))
                    $this->ignore($matches['method_name']);
            }
        }

        // ignored methods from Method DocBlock
        $methods = $ref->getMethods(ReflectionMethod::IS_PUBLIC);
        foreach($methods as $m) {
            $mc = $m->getDocComment();
            if ($mc !== false && preg_match('/@ignore\s/', $mc, $matches))
                $this->ignore($m->getName());
        }
    }