Package Data | |
---|---|
Maintainer Username: | FractalizeR |
Package Create Date: | 2015-03-11 |
Package Last Update: | 2015-10-27 |
Home Page: | |
Language: | PHP |
License: | GPL-2.0 |
Last Refreshed: | 2024-11-22 15:03:38 |
Package Statistics | |
---|---|
Total Downloads: | 37 |
Monthly Downloads: | 2 |
Daily Downloads: | 1 |
Total Stars: | 8 |
Total Watchers: | 5 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This project is currently under development. Code most probably is broken. Please wait until 1.0 is released to use it in production.
Metrics | _ ---|--- Version | Compatibility | Quality |
Cache
facade methods extended to accept arrays as keys to utilize Redis MULTI operations (multi-get, -set, -forget etc.)EXISTS
in has()
, SET...NX
in add()
etc)Cache::tags(...)
when reading data. Cache::get()
is enough.
So you can now query cache without even knowing which tags are associated with some cache itemCache::tags()
with the same tag setCore <===> Serialization <===> Encoding
| |
|----> TagVersionStorage <------|
+ Utility +
serialize()
in order to get encoded object's representation. Every coder must implement
CoderInterface
TagVersionStorageInterface
.
PlainTagVersionStorage
is a basic version of tag version storage that doesn't share any information about tag
versions outside current PHP process. You can implement a version, that will store actual tag versions,
for example, in APC if querying Redis becomes expensive or just needs to be avoided.RedisConnectionTrait
- is a trait, that allows to reuse the same scheme of Redis connection handling across the
projectArr
contains some low-level array routinesTime
contains some time management routinesMyClass::class
, not 'MyClass'
where class name is needed)