public static function createThrowAwayDirectory($prefix)
    {
        $directory = self::getTemporaryDirectory().DIRECTORY_SEPARATOR.uniqid('assetic_'.$prefix);
        mkdir($directory);

        return $directory;
    }
public static function createThrowAwayDirectory($prefix)
    {
        $directory = self::getTemporaryDirectory().DIRECTORY_SEPARATOR.uniqid('assetic_'.$prefix);
        mkdir($directory);

        return $directory;
    }
public static function createThrowAwayDirectory ( $ prefix ) { $ directory = self :: getTemporaryDirectory ( ) . DIRECTORY_SEPARATOR . uniqid ( 'assetic_' . $ prefix ) ; mkdir ( $ directory ) ; return $ directory ; }
Creates a throw-away directory.

This is not considered a "temporary" directory because it will not be
automatically deleted at the end of the request or process. It must be
deleted manually.

@param string $prefix A prefix for the directory name

@return string The directory path
Creates a throw - away directory .