public static function setStrictWildcardSlash($boolean) { self::$strictWildcardSlash = $boolean; }
protected function toRegex($str) { if ($str[0] == '/' && $str[strlen($str) - 1] == '/') { return $str; } else { return Doctrine_FileFinder_GlobToRegex::globToRegex($str); } }