Actualización
This commit is contained in:
29
main/inc/lib/hook/HookQuizEnd.php
Normal file
29
main/inc/lib/hook/HookQuizEnd.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user