| Conditions | 4 |
| Paths | 4 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function handle(EntityChange $event) |
||
| 32 | { |
||
| 33 | $entity = $event->getEntity(); |
||
| 34 | if ($entity instanceof Page) { |
||
| 35 | $this->cacheManager->flush(); |
||
| 36 | } elseif ($entity instanceof PageLayout) { |
||
| 37 | $this->cacheManager->flush(); |
||
| 38 | } elseif ($entity instanceof Block) { |
||
| 39 | $this->cacheManager->flush(); |
||
| 40 | } |
||
| 43 |