RouterEventSubscriber
in package
Table of Contents
- $apiVersionManager : ApiVersionManager
- The API version manager, used to retrieve the correct service
- $runtimeConfiguration : RuntimeConfiguration
- The RuntimeConfiguration instance
- __construct() : void
- Create the event listener.
- handleCreate() : void
- Launch the created job
- handleDelete() : void
- Launch the deleted job
- handleUpdate() : void
- Launch the updated job
- subscribe() : array<string|int, string>
- Handle the event
Properties
$apiVersionManager
The API version manager, used to retrieve the correct service
private
ApiVersionManager
$apiVersionManager
$runtimeConfiguration
The RuntimeConfiguration instance
private
RuntimeConfiguration
$runtimeConfiguration
Methods
__construct()
Create the event listener.
public
__construct(ApiVersionManager $apiVersionManager, RuntimeConfiguration $runtimeConfiguration) : void
Parameters
- $apiVersionManager : ApiVersionManager
- $runtimeConfiguration : RuntimeConfiguration
Return values
void —handleCreate()
Launch the created job
public
handleCreate(RouterCreated $event) : void
Parameters
- $event : RouterCreated
Return values
void —handleDelete()
Launch the deleted job
public
handleDelete(RouterDeleted $event) : void
Parameters
- $event : RouterDeleted
Return values
void —handleUpdate()
Launch the updated job
public
handleUpdate(RouterUpdated $event) : void
Parameters
- $event : RouterUpdated
Return values
void —subscribe()
Handle the event
public
subscribe() : array<string|int, string>