MvcLite\Session::setParam
Method to set a single parameter value
Signature
public function setParam(string
$param,
[string
$value = ''] )
Parameters
$param
—
string
$value
—
string
Returns
- Session
- $this for object-chaining.
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — MvcLite\SessionTest::testSetParams with data set "simple test"
- [ PASSED ] — MvcLite\SessionTest::testSetParam with data set "simple test"
- [ PASSED ] — MvcLite\SessionTest::testDestroy with data set "simple test"