| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function notifyDocumentAction($type) |
||
| 20 | { |
||
| 21 | $this->eventData['type'] = $type; |
||
| 22 | |||
| 23 | /** @var HookDocumentActionEventInterface $observer */ |
||
| 24 | foreach ($this->observers as $observer) { |
||
| 25 | $data = $observer->notifyDocumentAction($this); |
||
| 26 | $this->setEventData($data); |
||
| 27 | } |
||
| 28 | |||
| 29 | return $this->eventData; |
||
| 30 | } |
||
| 32 |