src/php/Webforge/Common/System/Dir.php
public static function createTemporary() {
    $file = File::createTemporary();
    $tempname = $file->getName();
    $file->delete();
    
    $dir = $file->getDirectory()->sub($tempname.'/');
    $dir->make();
    return $dir;
  }
public static function createTemporary() {
    $file = File::createTemporary();
    $tempname = $file->getName();
    $file->delete();
    
    $dir = $file->getDirectory()->sub($tempname.'/');
    $dir->make();
    return $dir;
  }
public static function createTemporary ( ) { $ file = File :: createTemporary ( ) ; $ tempname = $ file -> getName ( ) ; $ file -> delete ( ) ; $ dir = $ file -> getDirectory ( ) -> sub ( $ tempname . '/' ) ; $ dir -> make ( ) ; return $ dir ; }
Creates a temporary Directory
Creates a temporary Directory