| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function __invoke(ContainerInterface $container) : ArticleController |
||
| 16 | { |
||
| 17 | return new ArticleController( |
||
| 18 | $container->get(TemplateRendererInterface::class), |
||
| 19 | $container->get(ArticleRepositoryInterface::class), |
||
| 20 | new ArticleValidator(), |
||
| 21 | $container->get('session'), |
||
| 22 | $container->get(RouterInterface::class) |
||
| 23 | ); |
||
| 24 | } |
||
| 25 | } |