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

31 lines
682 B
PHP

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