public static function mkdir($path, $mode = 0755)
    {
        $filesystem = new Filesystem();

        try {
            $filesystem->mkdir($path, $mode);
        } catch (IOException $exception) {
            return false;
        }

        return true;
    }
public static function mkdir($path, $mode = 0755)
    {
        $filesystem = new Filesystem();

        try {
            $filesystem->mkdir($path, $mode);
        } catch (IOException $exception) {
            return false;
        }

        return true;
    }
public static function mkdir ( $ path , $ mode = 0755 ) { $ filesystem = new Filesystem ( ) ; try { $ filesystem -> mkdir ( $ path , $ mode ) ; } catch ( IOException $ exception ) { return false ; } return true ; }
Create a directory structure recursiveley

@param string $path
@param int    $mode

@return bool
Create a directory structure recursiveley