/** * @param string $directory_ * @param boolean $create_ * * @return Io_Path */ private static function uploadPath($directory_ = null, $create_ = true) { $path = Io::tmpPath($directory_, false); if ($create_ && false === $path->exists()) { $path->create(); } return $path; }