@@ -32,6 +32,9 @@ discard block |
||
| 32 | 32 | private $cache = false; |
| 33 | 33 | private $root; |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $root |
|
| 37 | + */ |
|
| 35 | 38 | public function __construct($root) |
| 36 | 39 | { |
| 37 | 40 | $this->root = $root; |
@@ -51,6 +54,9 @@ discard block |
||
| 51 | 54 | return true; |
| 52 | 55 | } |
| 53 | 56 | |
| 57 | + /** |
|
| 58 | + * @param string $key |
|
| 59 | + */ |
|
| 54 | 60 | public function get($key) |
| 55 | 61 | { |
| 56 | 62 | if (!isset($this->cache[$key])) { |