protected function storeInCache($name, $value, SettingsOwnerInterface $owner = null)
    {
        $item = $this->storage->getItem($this->getCacheKey($name, $owner))
            ->set($value)
            ->expiresAfter($this->cacheLifeTime);

        return $this->storage->save($item);
    }
protected function storeInCache($name, $value, SettingsOwnerInterface $owner = null)
    {
        $item = $this->storage->getItem($this->getCacheKey($name, $owner))
            ->set($value)
            ->expiresAfter($this->cacheLifeTime);

        return $this->storage->save($item);
    }
protected function storeInCache ( $ name , $ value , SettingsOwnerInterface $ owner = null ) { $ item = $ this -> storage -> getItem ( $ this -> getCacheKey ( $ name , $ owner ) ) -> set ( $ value ) -> expiresAfter ( $ this -> cacheLifeTime ) ; return $ this -> storage -> save ( $ item ) ; }
Store in cache.

@param SettingsOwnerInterface $owner
@param string $name
@param mixed $value

@return bool TRUE if the entry was successfully stored in the cache, FALSE otherwise.
Store in cache .