MvcLite\Config::setAll
Assigns multiple values to the config in a single method call.
Signature
public function setAll([array
$params = ] )
Parameters
$params
—
array
Returns
- Config
- Returns $this, for object-chaining.
Test Coverage
Information
- Coverage: 4/4 Lines (100%)
- Tests: 6
- Passed: 6 (100%)
Tests
- [ PASSED ] — MvcLite\ConfigTest::testSetAll with data set "simple test"
- [ PASSED ] — MvcLite\ConfigTest::testSetAll with data set "nested test"
- [ PASSED ] — MvcLite\ConfigTest::testGetSection with data set "empty everything"
- [ PASSED ] — MvcLite\ConfigTest::testGetSection with data set "empty data"
- [ PASSED ] — MvcLite\ConfigTest::testGetSection with data set "empty expected"
- [ PASSED ] — MvcLite\ConfigTest::testGetSection with data set "expectations"