MvcLite\Config::getSection
Gets an entire section of the configuration, by name.
Signature
public function getSection(string
$name )
Parameters
$name
—
string
- The section name to retreive.
Returns
- array
- The results of the request.
Test Coverage
Information
- Coverage: 8/8 Lines (100%)
- Tests: 6
- Passed: 6 (100%)
Tests
- [ 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"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "good controller request"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "bad controller request"