/** * 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 the timestamp of the cached objects * * @since 1.9 * * @return integer|null */ public function getCacheDate() { return $this->cacheSetup->has('cacheDate') ? $this->cacheSetup->get('cacheDate') : null; }