WpWodify\Data::set_cache
Setter for the cache property.
Signature
public function set_cache(Cache
$cache )
Parameters
$cache
— WpWodify\WpWodify\Cache- An instance of the Cache.
Returns
- Data
- Returns $this for object-chaining.
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 1
- Passed: 1 (100%)
Tests
- [ PASSED ] — WpWodify\DataTest::test_set_cache