Files
Chamilo/main/inc/lib/hook/HookLearningPathEnd.php
2025-04-10 12:49:05 +02:00

31 lines
651 B
PHP

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