1 | <?php |
||
9 | class Delegate implements DelegateInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var SplObjectStorage |
||
13 | */ |
||
14 | private $middleware; |
||
15 | |||
16 | /** |
||
17 | * @var DelegateInterface $nextDelegate |
||
18 | */ |
||
19 | private $nextDelegate; |
||
20 | |||
21 | 4 | public function __construct(SplObjectStorage $middleware, DelegateInterface $nextDelegate) |
|
29 | |||
30 | // DelegateInterface |
||
31 | 4 | public function process(ServerRequestInterface $request) |
|
52 | |||
53 | /** |
||
54 | * @return DelegateInterface |
||
55 | */ |
||
56 | 3 | private function nextDelegate() |
|
63 | } |
||
64 |