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.
29 lines
579 B
29 lines
579 B
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
/**
|
|
* Class HookQuizEnd.
|
|
*/
|
|
class HookQuizEnd extends HookEvent implements HookQuizEndEventInterface
|
|
{
|
|
/**
|
|
* HookQuizEnd constructor.
|
|
*
|
|
* @throws Exception
|
|
*/
|
|
protected function __construct()
|
|
{
|
|
parent::__construct('HookQuizEnd');
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function notifyQuizEnd()
|
|
{
|
|
/** @var HookQuizEndObserverInterface $observer */
|
|
foreach ($this->observers as $observer) {
|
|
$observer->hookQuizEnd($this);
|
|
}
|
|
}
|
|
}
|
|
|