|
@@ 77-83 (lines=7) @@
|
| 74 |
|
$this->parameterMap->bindBy(new Typed(Request::class), $this->request); |
| 75 |
|
} |
| 76 |
|
|
| 77 |
|
private function bindPatternedUrl() |
| 78 |
|
{ |
| 79 |
|
$matcher = new Matcher($this->routerMap); |
| 80 |
|
$urlPattern = $matcher->match($this->request)['urlPattern']; |
| 81 |
|
|
| 82 |
|
$this->parameterMap->bindBy(new Named('urlPattern'), $urlPattern); |
| 83 |
|
} |
| 84 |
|
|
| 85 |
|
private function bindNamedUrl() |
| 86 |
|
{ |
|
@@ 95-101 (lines=7) @@
|
| 92 |
|
} |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
private function bindProc() |
| 96 |
|
{ |
| 97 |
|
$matcher = new Matcher($this->routerMap); |
| 98 |
|
$proc = $matcher->match($this->request)['handler']; |
| 99 |
|
|
| 100 |
|
$this->parameterMap->bindBy(new Typed(ProcInterface::class), $proc); |
| 101 |
|
} |
| 102 |
|
|
| 103 |
|
private function bindViewModel() |
| 104 |
|
{ |