src/Util/FileUtil.php
public static function containsDotfile($path)
    {
        $path = Path::canonicalize(Path::makeAbsolute($path, '/'));

        return preg_match('#/\.#', $path) == 1;
    }
public static function containsDotfile($path)
    {
        $path = Path::canonicalize(Path::makeAbsolute($path, '/'));

        return preg_match('#/\.#', $path) == 1;
    }
public static function containsDotfile ( $ path ) { $ path = Path :: canonicalize ( Path :: makeAbsolute ( $ path , '/' ) ) ; return preg_match ( '#/\.#' , $ path ) == 1 ; }
Returns true if the path conatains any dotfile access
@param string $path
@return bool
Returns true if the path conatains any dotfile access