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