MvcLite\Config::get
Getter for data.
Signature
public function get(string
$name )
Parameters
$name
—
string
- The name of what to get.
Returns
- Config
- Returns $this, for object-chaining.
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 4
- Passed: 4 (100%)
Tests
- [ PASSED ] — MvcLite\ConfigTest::testGet with data set "key exists, expect value"
- [ PASSED ] — MvcLite\ConfigTest::testGet with data set "key does not exist, do notexpect value"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "good controller request"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "bad controller request"