| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class InMemoryFileStorage implements FileStorage |
||
| 10 | { |
||
| 11 | private $fs = []; |
||
| 12 | |||
| 13 | public function setContent(string $path, array $content) |
||
| 14 | { |
||
| 15 | $this->fs[$path] = $content; |
||
| 16 | } |
||
| 17 | |||
| 18 | public function content(string $path): array |
||
| 19 | { |
||
| 20 | return $this->fs[$path]; |
||
| 21 | } |
||
| 22 | |||
| 23 | public function uriToTmpPicture(string $uri): Picture |
||
| 28 | } |
||
| 29 | |||
| 30 | } |
||
| 31 |