WpWodify\Data::get
Generic data get method.
Signature
public function get(string
$name,
array
$params )
Parameters
$name
—
string
- The name of the data to get
$params
—
array
- An array of parameters to use to find data with.
Returns
- array
- The result of the finding.
Test Coverage
Information
- Coverage: 10/10 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — WpWodify\DataTest::test_get with data set "cache has expected result"
- [ PASSED ] — WpWodify\DataTest::test_get with data set "cache has nothing "