1 | <?php |
||
20 | final class BeginMiddleware implements SimpleMiddlewareInterface, SendsMiddlewareSignal |
||
21 | { |
||
22 | /** |
||
23 | * @var MiddlewareInterface |
||
24 | */ |
||
25 | private $nextMiddleware; |
||
26 | |||
27 | /** |
||
28 | * @param MiddlewareInterface $nextMiddleware |
||
29 | */ |
||
30 | public function __construct(MiddlewareInterface $nextMiddleware) |
||
34 | |||
35 | /** |
||
36 | * This is the first middleware, its only goal is to call the first "real" |
||
37 | * middleware. |
||
38 | */ |
||
39 | public function execute() |
||
43 | |||
44 | /** |
||
45 | * @inheritdoc |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getSignal() |
||
52 | } |
||
53 |