MvcLite\Dispatcher::init
Initialize the dispatcher.
Signature
public function init(
$loader )
Parameters
$loader
—
Returns
- Dispatcher
- Returns $this for object-chaining.
Test Coverage
Information
- Coverage: 5/5 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — MvcLite\DispatcherTest::testInit
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "good controller request"
- [ PASSED ] — MvcLite\DispatcherTest::testDispatch with data set "bad controller request"