| Total Complexity | 5 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 7 | class HookMyStudentsLpTracking extends HookEvent implements HookMyStudentsLpTrackingEventInterface |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * HookMyStudentsLpTracking constructor. |
||
| 11 | * |
||
| 12 | * @throws Exception |
||
| 13 | */ |
||
| 14 | protected function __construct() |
||
| 15 | { |
||
| 16 | parent::__construct('HookMyStudentsLpTracking'); |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return array |
||
| 21 | */ |
||
| 22 | public function notifyTrackingHeader() |
||
| 23 | { |
||
| 24 | $results = []; |
||
| 25 | |||
| 26 | /** @var HookMyStudentsLpTrackingObserverInterface $observer */ |
||
| 27 | foreach ($this->observers as $observer) { |
||
| 28 | $results[] = $observer->trackingHeader($this); |
||
| 29 | } |
||
| 30 | |||
| 31 | return $results; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param int $lpId |
||
| 36 | * @param int $studentId |
||
| 37 | * |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | public function notifyTrackingContent($lpId, $studentId) |
||
| 53 | } |
||
| 54 | } |
||
| 55 |