Files
Chamilo/main/inc/lib/hook/HookLearningPathItemViewed.php
2025-08-14 22:37:50 +02:00

31 lines
702 B
PHP

<?php
/* For licensing terms, see /license.txt */
/**
* Class HookLearningPathItemViewed.
*/
class HookLearningPathItemViewed extends HookEvent implements HookLearningPathItemViewedEventInterface
{
/**
* HookLearningPathItemViewed constructor.
*
* @throws \Exception
*/
protected function __construct()
{
parent::__construct('HookLearningPathItemViewed');
}
/**
* {@inheritdoc}
*/
public function notifyLearningPathItemViewed()
{
/** @var \HookLearningPathItemViewedObserverInterface $observer */
foreach ($this->observers as $observer) {
$observer->hookLearningPathItemViewed($this);
}
}
}