| 1 | <?php |
||
| 16 | abstract class AbstractModule implements MiddlewareInterface |
||
| 17 | {
|
||
| 18 | protected $dic; |
||
| 19 | |||
| 20 | 1 | public function __construct(CompositeContainerInterface $dic) |
|
| 24 | |||
| 25 | 1 | public function process(ServerRequestInterface $req, RequestHandlerInterface $handler): ResponseInterface |
|
| 35 | |||
| 36 | abstract protected function createContainer(): ContainerInterface; |
||
| 37 | |||
| 38 | abstract protected function createPipeline(ContainerInterface $dic): MiddlewareInterface; |
||
| 39 | } |