MvcLite\Config::set
Setter for data.
Signature
public function set(string
$name,
mixed
$value )
Parameters
$name
—
string
- The name to store the value as.
$value
—
mixed
- The value to store.
Returns
- Config
- Returns $this, for object-chaining.
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 7
- Passed: 7 (100%)
Tests
- [ PASSED ] — MvcLite\ConfigTest::testSet with data set #0
- [ PASSED ] — MvcLite\ConfigTest::testSet with data set #1
- [ PASSED ] — MvcLite\ConfigTest::testSet with data set #2
- [ PASSED ] — MvcLite\ConfigTest::testSet with data set #3
- [ PASSED ] — MvcLite\ConfigTest::testSet with data set #4
- [ PASSED ] — MvcLite\ConfigTest::testGetSection with data set "empty expected"
- [ PASSED ] — MvcLite\ConfigTest::testGetSection with data set "expectations"