Menu

## EventManager
in package

EventManager.php : 9

### Table of Contents

$hooks : mixed
addHook() : mixed
getHooks() : mixed
registerHooksFromMethods() : mixed

### Properties

#### $hooks

EventManager.php : 12
`public static mixed $hooks = []`

### Methods

#### addHook()

EventManager.php : 14
`public static addHook(string $eventName, callable $func[, int $hookPriority = HookPriority::NORMAL ]) : mixed`

##### Parameters

$eventName : string
$func : callable
$hookPriority : int = HookPriority::NORMAL

##### Return values

mixed —

#### getHooks()

EventManager.php : 44
`public static getHooks(string $eventName) : mixed`

##### Parameters

$eventName : string

##### Return values

mixed —

#### registerHooksFromMethods()

EventManager.php : 53
`public static registerHooksFromMethods() : mixed`

##### Return values

mixed —

## Search results