Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | 2 | public function __invoke(Page $page) |
|
27 | { |
||
28 | 2 | $file = $page->getTarget(); |
|
29 | 2 | $this->logger->info(" Rendering {$file}"); |
|
30 | 2 | $this->view->page = $page; |
|
31 | 2 | $this->view->html = $this->fsio->get($page->getTarget()); |
|
32 | 2 | $result = $this->view->__invoke(); |
|
33 | 2 | $this->fsio->put($file, $result); |
|
34 | 2 | } |
|
35 | } |
||
36 |