Conditions | 3 |
Paths | 4 |
Total Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function __invoke(ContentValueView $view, Request $request) |
||
28 | { |
||
29 | $parameters = $this->collectInformation($view, $request, new AdditionalContent()); |
||
30 | |||
31 | if ($view instanceof BaseView) { |
||
32 | $view->addParameters($parameters); |
||
33 | } |
||
34 | |||
35 | if ($view instanceof CachableView) { |
||
36 | $view->setCacheEnabled(false); |
||
37 | } |
||
38 | |||
39 | return $view; |
||
40 | } |
||
41 | } |
||
42 |