Download the PHP package c01l/phpdecorator-memo without Composer
On this page you can find all versions of the php package c01l/phpdecorator-memo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download c01l/phpdecorator-memo
More information about c01l/phpdecorator-memo
Files in c01l/phpdecorator-memo
Download c01l/phpdecorator-memo
More information about c01l/phpdecorator-memo
Files in c01l/phpdecorator-memo
Vendor c01l
Package phpdecorator-memo
Short Description Memoization for PHP methods using a Python style Decorator pattern.
License MIT
Package phpdecorator-memo
Short Description Memoization for PHP methods using a Python style Decorator pattern.
License MIT
Please rate this library. Is it a good library?
Informations about the package phpdecorator-memo
phpdecorator - memo
The phpdecorator library extension can be used to store return values in memory depending on its parameters.
This library uses the parameters of a function to build a cache key to cache function call results.
How to use it?
- Add
Memo
attribute to a function. - Specify the how the cache key is built.
Using complex memo keys
The key can be composed of multiple values, by adding more elements to the array:
Using no field will result in the function being only called once and different arguments are not considered.
You can use an arbitrary expression in the key definition.
All versions of phpdecorator-memo with dependencies
PHP Build Version
Package Version
The package c01l/phpdecorator-memo contains the following files
Loading the files please wait ....