You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason, the cache service object itself is added to the data array for serialization, which will then be stored in the cache and if, for example, symfony/cache is used, such an object will eventually not be able to be processed by the serialise function.
Сan someone please explain why $this->cache does Resultset have at all, if the cache can be retrieved from Di?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
For some reason, the cache service object itself is added to the data array for serialization, which will then be stored in the cache and if, for example,
symfony/cache
is used, such an object will eventually not be able to be processed by the serialise function.Сan someone please explain why
$this->cache
doesResultset
have at all, if the cache can be retrieved from Di?Cache - https://github.com/phalcon/cphalcon/blob/master/phalcon/Mvc/Model/Resultset/Simple.zep#L265
Beta Was this translation helpful? Give feedback.
All reactions