public function isPathCovered($path)
    {
        foreach ($this->patterns as $pattern) {
            if (1 === preg_match('{'.$pattern.'}', $path)) {
                return true;
            }
        }
        return false;
    }