v0

\Hubleto\Framework\Interfaces\EventManagerInterface

Methods

ƒ init

public init(): void

ƒ log

public log(string $msg): void

Parameters

Parameter Type Description
$msg string

ƒ addEventListener

public addEventListener(string $event, \Hubleto\Framework\Interfaces\EventListenerInterface $listener): void

Parameters

Parameter Type Description
$event string
$listener \Hubleto\Framework\Interfaces\EventListenerInterface

ƒ getEventListeners

public getEventListeners(): array

ƒ fire

public fire(string $event, array $args): void

Parameters

Parameter Type Description
$event string
$args array
www.hubleto.eu | Found a bug or missing something? Report an issue via GitHub.