dev-master
9999999-dev https://github.com/BlaineSch/li3_memoizeWill aid in the caching of expensive helper/model instance methods.
The BSD License
cache proxy lithium li3 speed memoize
Will aid in the caching of expensive helper/model instance methods.
Will aid in the caching of expensive helper/model instance methods., (*1)
~~~ json { "require": { ... "blainesch/li3_memoize": "dev-master" ... } }, (*3)
~~~ bash php composer.phar install
~~~ bash git submodule add git://github.com/BlaineSch/li3_memoize.git libraries/li3_memoize, (*4)
### Clone Directly ~~~ bash git clone git://github.com/BlaineSch/li3_memoize.git libraries/li3_memoize
Add the plugin to be loaded with Lithium's autoload magic, (*5)
In app/config/bootstrap/libraries.php
add:, (*6)
~~~ php , (*7)
### Tell it which instance methods to cache ~~~ php <?php use li3_memoize\extensions\Memoize; Memoize::add(array( array( 'name' => 'app\extensions\helper\Prose', 'method' => array('init') ), array( 'name' => 'app\models\Users', 'method' => array('name') ), ));
Will aid in the caching of expensive helper/model instance methods.
The BSD License
cache proxy lithium li3 speed memoize