Actualización

This commit is contained in:
Xes
2025-04-10 12:49:05 +02:00
parent 4aff98e77b
commit 1cdd00920f
9151 changed files with 1800913 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<?php
/* For licensing terms, see /license.txt */
/**
* Class HookCreateUser.
*
* @var \SplObjectStorage
*/
class HookCreateUser extends HookEvent implements HookCreateUserEventInterface
{
/**
* Constructor.
*/
protected function __construct()
{
parent::__construct('HookCreateUser');
}
/**
* Update all the observers.
*
* @param int $type
*
* @return int
*/
public function notifyCreateUser($type)
{
$this->eventData['type'] = $type;
/** @var HookCreateUserObserverInterface $observer */
foreach ($this->observers as $observer) {
$observer->hookCreateUser($this);
}
return 1;
}
}