Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function process(ServerRequestInterface $request, DelegateInterface $delegate) |
||
37 | { |
||
38 | if (strpos($request->getUri()->getPath(), $this->uri->getPath()) === 0) { |
||
39 | $admin = call_user_func($this->factory, $this->uri); |
||
40 | |||
41 | return $admin($request); |
||
42 | } |
||
43 | |||
44 | return $delegate->process($request); |
||
45 | } |
||
46 | } |
||
47 |