MvcLite\Request::buildFromString
Build an associative array from a string
Signature
public function buildFromString([string
$string = '',
[string
$separator = '/']] )
Parameters
$string
—
string
$separator
—
string
Returns
- array
Test Coverage
Information
- Coverage: 27/27 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::testBuildFromString with data set "simple test"
- [ PASSED ] — MvcLite\RequestTest::testBuildFromString with data set "tricky test"