| 1 | <?php |
||
| 21 | final class TemporaryFactory |
||
| 22 | {
|
||
| 23 | |||
| 24 | /** |
||
| 25 | * Create a new temporary directory |
||
| 26 | * |
||
| 27 | * @param int $mode permission |
||
| 28 | * @return \holyshared\peridot\temporary\TemporaryDirectory |
||
| 29 | */ |
||
| 30 | public function makeDirectory($mode = FileSystemPermission::NORMAL) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Create a new temporary file |
||
| 41 | * |
||
| 42 | * @param int $mode permission |
||
| 43 | * @return \holyshared\peridot\temporary\TemporaryFile |
||
| 44 | */ |
||
| 45 | public function makeFile($mode = FileSystemPermission::NORMAL) |
||
| 53 | |||
| 54 | private function generateId() |
||
| 59 | |||
| 60 | } |
||
| 61 |