MvcLite\Dispatcher::translateControllerName
Translates a raw request param for a controller into a class name.
Signature
protected function translateControllerName([string
$controller = ''] )
Parameters
$controller
—
string
Returns
- string
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — MvcLite\DispatcherTest::testTranslateControllerName with data set "simple"
- [ PASSED ] — MvcLite\DispatcherTest::testTranslateControllerName with data set "with dashes"