MvcLite\Request::getParam
Gets a single param from the params array
Signature
public function getParam(string
$param )
Parameters
$param
—
string
Returns
- string
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 4
- Passed: 4 (100%)
Tests
- [ PASSED ] — MvcLite\ControllerTest::testInit
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "good controller request"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "bad controller request"
- [ PASSED ] — MvcLite\RequestTest::testGetParam