Actualización
This commit is contained in:
19
main/inc/lib/hook/HookLearningPathCreated.php
Normal file
19
main/inc/lib/hook/HookLearningPathCreated.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
/* For licensing terms, see /license.txt */
|
||||
|
||||
class HookLearningPathCreated extends HookEvent implements HookLearningPathCreatedEventInterface
|
||||
{
|
||||
protected function __construct()
|
||||
{
|
||||
parent::__construct('HookLearningPathCreated');
|
||||
}
|
||||
|
||||
public function notifyCreated()
|
||||
{
|
||||
/** @var HookLearningPathCreatedObserverInterface $observer */
|
||||
foreach ($this->observers as $observer) {
|
||||
$observer->hookCreated($this);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user