Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | public function hookCommentEdited(HookPortfolioCommentEditedEventInterface $hookEvent) |
||
11 | { |
||
12 | /** @var PortfolioComment $comment */ |
||
13 | $comment = $hookEvent->getEventData()['comment']; |
||
14 | |||
15 | $statement = (new PortfolioCommentEdited($comment))->generate(); |
||
16 | |||
17 | $this->saveSharedStatement($statement); |
||
18 | } |
||
20 |