MvcLite\Cache::set
stores data from an object.
The object is required, to determine the namespacing of the storage
Signature
public function set(ObjectAbstract
$object,
string
$name,
unknown_type
$data )
Parameters
$object
— MvcLite\MvcLite\ObjectAbstract
$name
— string$data
— object
Returns
- Cache
- $this for object-chaining.
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — MvcLite\CacheTest::testGet with data set #0
- [ PASSED ] — MvcLite\CacheTest::testGet with data set #1
- [ PASSED ] — MvcLite\CacheTest::testGet with data set #2