Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

do not unserialize when cache is empty #13

Conversation

mikolajfilipiak
Copy link
Contributor

Used CacheInterface said:

image

So i want to use get instead of has, because i wan to load data to variable and then decide what i should to do.

image

If cache is empty get returns null by default

@norberttech norberttech merged commit 736e36d into app-insights-php:master Jan 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants