MvcLite\Cache::init
initialize the cache instance
Signature
public function init([array
$data = ] )
Parameters
$data
— array
Returns
- Cache
- $this for object-chaining.
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — MvcLite\CacheTest::testInit with data set "with prefix"
- [ PASSED ] — MvcLite\CacheTest::testInit with data set "without prefix"