*/ class EventListenerRegistration extends ServiceRegistration { /** @var string */ private $event; /** @var int */ private $priority; public function __construct(string $appId, string $event, string $service, int $priority) { parent::__construct($appId, $service); $this->event = $event; $this->priority = $priority; } /** * @return string */ public function getEvent(): string { return $this->event; } /** * @return int */ public function getPriority(): int { return $this->priority; } }