| Conditions | 3 |
| Paths | 3 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 36 | public function match(View $view) |
||
| 37 | { |
||
| 38 | if (!$view->hasParameter('objectParameters')) { |
||
| 39 | return false; |
||
| 40 | } |
||
| 41 | |||
| 42 | $objectParameters = $view->getParameter('objectParameters'); |
||
| 43 | |||
| 44 | if (!isset($objectParameters['isImage'])) { |
||
| 45 | return false; |
||
| 46 | } |
||
| 47 | |||
| 48 | return ($objectParameters['isImage'] === $this->isImage); |
||
| 49 | } |
||
| 50 | } |
||
| 51 |