Cache\Encryption\EncryptedCachePool::getItem PHP Method

getItem() public method

public getItem ( $key )
    public function getItem($key)
    {
        $item = $this->cachePool->getItem($key);
        if (!$item instanceof EncryptedItemDecorator) {
            return new EncryptedItemDecorator($item, $this->key);
        }
        return $item;
    }