MvcLite\Request::setParams
setter for the params property
Signature
public function setParams([array
$params = ] )
Parameters
$params
—
array
Returns
- Request
- $this for object-chaining.
Test Coverage
Information
- Coverage: 2/2 Lines (100%)
- Tests: 4
- Passed: 4 (100%)
Tests
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "good controller request"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "bad controller request"
- [ PASSED ] — MvcLite\RequestTest::testGetParams
- [ PASSED ] — MvcLite\RequestTest::testGetParam