| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function hookItemHighlighted(HookPortfolioItemHighlightedEventInterface $hookEvent) |
||
| 14 | { |
||
| 15 | /** @var Portfolio $item */ |
||
| 16 | $item = $hookEvent->getEventData()['item']; |
||
| 17 | |||
| 18 | $statement = (new PortfolioItemHighlighted($item))->generate(); |
||
| 19 | |||
| 20 | $this->saveSharedStatement($statement); |
||
| 21 | } |
||
| 23 |