Submit
Path:
~
/
/
usr
/
local
/
psa
/
admin
/
plib
/
modules
/
grafana
/
vendor
/
league
/
oauth2-server
/
src
/
EventEmitting
/
File Content:
EventEmitter.php
<?php declare (strict_types=1); namespace PleskGrafana\League\OAuth2\Server\EventEmitting; use PleskGrafana\League\Event\EventDispatcher; use PleskGrafana\League\Event\ListenerPriority; final class EventEmitter extends EventDispatcher { public function addListener(string $event, callable $listener, int $priority = ListenerPriority::NORMAL) : self { $this->subscribeTo($event, $listener, $priority); return $this; } public function emit(object $event) : object { return $this->dispatch($event); } }
Submit
FILE
FOLDER
INFO
Name
Size
Permission
Action
AbstractEvent.php
860 bytes
0644
EmitterAwareInterface.php
240 bytes
0644
EmitterAwarePolyfill.php
726 bytes
0644
EventEmitter.php
550 bytes
0644
N4ST4R_ID | Naxtarrr