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