/** * Sets value * * @since 1.9 * * @param $key * @param $default * * @return mixed|null */ public function setValue($key, $default = null) { return $this->configuration->has($key) ? $this->configuration->get($key) : $default; }
/** * Returns a CacheHandler instance * * @since 1.9 * * @return CacheHandler */ public function getCache() { return CacheHandler::newFromId($this->cacheSetup->get('type')); }