| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 9 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 28 | public function manage(PageInterface $page): MainContentManagerInterface | ||
| 29 |     { | ||
| 30 | $this->page = $page; | ||
| 31 | |||
| 32 |         if (PageMainContentType::MARKDOWN === $page->getMainContentType()) { | ||
| 33 | return new Markdown($this->app, $this->twig, $page, $this->markdownParser); | ||
| 34 | } | ||
| 35 | |||
| 36 | return new Raw($this->app, $this->twig, $page); | ||
| 37 | } | ||
| 39 |