@@ -52,6 +52,9 @@ discard block |
||
| 52 | 52 | $this->container->setOption($name, $value); |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | + /** |
|
| 56 | + * @param string $name |
|
| 57 | + */ |
|
| 55 | 58 | public function getOption($name) |
| 56 | 59 | { |
| 57 | 60 | return $this->container->getOption($name); |
@@ -102,6 +105,9 @@ discard block |
||
| 102 | 105 | return $this->container->touch($this->createKey($id), $extraLifetime); |
| 103 | 106 | } |
| 104 | 107 | |
| 108 | + /** |
|
| 109 | + * @return string |
|
| 110 | + */ |
|
| 105 | 111 | public function load($id, $doNotTestCacheValidity = false, $doNotUnserialize = false) |
| 106 | 112 | { |
| 107 | 113 | return $this->container->load($this->createKey($id), $doNotTestCacheValidity, $doNotUnserialize); |
@@ -112,6 +118,9 @@ discard block |
||
| 112 | 118 | return $this->container->test($this->createKey($id)); |
| 113 | 119 | } |
| 114 | 120 | |
| 121 | + /** |
|
| 122 | + * @param string $data |
|
| 123 | + */ |
|
| 115 | 124 | public function save($data, $id = null, $tags = array(), $specificLifetime = false, $priority = 8) |
| 116 | 125 | { |
| 117 | 126 | return $this->container->save( |
@@ -123,6 +132,9 @@ discard block |
||
| 123 | 132 | ); |
| 124 | 133 | } |
| 125 | 134 | |
| 135 | + /** |
|
| 136 | + * @param string $id |
|
| 137 | + */ |
|
| 126 | 138 | public function remove($id) |
| 127 | 139 | { |
| 128 | 140 | return $this->container->remove($this->createKey($id)); |