MvcLite\Request::setParam
method to set a param manually
Signature
public function setParam(string
$param,
[string
$value = ''] )
Parameters
$param
— string$value
— string
Returns
- Request
- $this for object-chaining.
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "good controller request"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "bad controller request"