You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
682 B
30 lines
682 B
<?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);
|
|
}
|
|
}
|
|
}
|
|
|