6 * A temporary file/directory name
16 * @param string $prefix uniqid() prefix
17 * @param string $suffix e.g. file extension
19 public function __construct($prefix, $suffix = null) {
20 $this->name
= sys_get_temp_dir() . "/" . uniqid($prefix) . $suffix;
26 public function __toString() {
27 return (string) $this->name
;