ilexn / idiorm-cache
This package is abandoned and no longer maintained.
No replacement package was suggested.
idorm db file cache
v1.1.1
2016-02-29 08:33 UTC
Requires
- j4mie/idiorm: v1.5.1
- tedivm/stash: 0.14.*
Requires (Dev)
- phpunit/phpunit: ^4.8.0
README
How to autoload
require_once '../vendor/autoload.php';
$dbCache = new \Ilex\Cache\IdiormCache(__DIR__ .'/../cache/db/');
ORM::configure('cache_query_result', array($dbCache,'save'));
ORM::configure('check_query_cache', array($dbCache,'isHit'));
ORM::configure('clear_cache', array($dbCache,'clear'));
ORM::configure('create_cache_key',array($dbCache,'genKey') );
need to learn to write test
Idiorm is created by https://github.com/j4mie/idiorm