| Conditions | 3 |
| Paths | 4 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 46 | private function addRouterMap(Map $routerMap, $path, $handlers) |
||
| 47 | { |
||
| 48 | if ($this->resolveHttpGetHandler($handlers)) { |
||
| 49 | $routerMap->get($path, $this->resolveHttpGetHandler($handlers)); |
||
| 50 | } |
||
| 51 | |||
| 52 | if ($this->resolveHttpPostHandler($handlers)) { |
||
| 53 | $routerMap->post($path, $this->resolveHttpPostHandler($handlers)); |
||
| 54 | } |
||
| 55 | } |
||
| 56 | |||
| 71 |