Lines Matching defs:name
23 * Get cache for $name if exist.
25 * @param string $name Cache id
29 public function get($name)
31 if (array_key_exists($name, $this->cache)) {
32 return $this->cache[$name];
40 * @param string $name cache id
45 public function set($name, $value)
47 $this->cache[$name] = $value;
53 * @param string $name Cache id
57 public function remove($name)
59 unset($this->cache[$name]);