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) |
|
26 | |||
27 | // DelegateInterface |
||
28 | 4 | public function process(ServerRequestInterface $request) |
|
49 | |||
50 | /** |
||
51 | * @return DelegateInterface |
||
52 | */ |
||
53 | private function nextDelegate() |
||
60 | } |
||
61 |