data)) ? $this->data[$key] : NULL; } /** * Set a cached value * * @param string $key * @param mixed $value * @return DriverInterface */ public function set($key, $value) { $this->data[$key] = $value; return $this; } /** * Invalidate a cached value * * @param string $key * @return DriverInterface */ public function invalidate($key) { unset($this->data[$key]); return $this; } /** * Clear the contents of the cache * * @return void */ public function invalidateAll() { $this->data = []; } } // End of NullDriver.php