# Class Opencart\System\Engine\Event

Class Event https://github.com/opencart/opencart/wiki/Events-(script-notifications)-2.2.x.x

Located at system\engine\event.php

Methods
`public` | `__construct(Registry $registry)` Constructor Constructor | #
`public` | `register(string $trigger, Action $action, int $priority = 0): void` Register Register | #
`public` | `trigger(string $event, array<mixed> $args = []): mixed` Trigger Trigger | #
`public` | `unregister(string $trigger, string $route): void` Unregister Unregister | #
`public` | `clear(string $trigger): void` Clear Clear | #

Properties
`protected` | `Registry` | `$registry` | #
`protected` | `array<int, array<string, mixed>>` | `$data = []` | #

OpenCart API API documentation generated by ApiGen dev-master