LoadBalancerListenerEventSubscriber
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 load balancer listener created job
- handleDelete() : void
- Launch the load balancer listener deleted job
- handleUpdate() : void
- Launch the load balancer listener updated job
- subscribe() : array<string|int, mixed>
- 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 load balancer listener created job
public
handleCreate(LoadBalancerListenerCreated $event) : void
Parameters
- $event : LoadBalancerListenerCreated
Return values
void —handleDelete()
Launch the load balancer listener deleted job
public
handleDelete(LoadBalancerListenerDeleted $event) : void
Parameters
- $event : LoadBalancerListenerDeleted
Return values
void —handleUpdate()
Launch the load balancer listener updated job
public
handleUpdate(LoadBalancerListenerUpdated $event) : void
Parameters
- $event : LoadBalancerListenerUpdated
Return values
void —subscribe()
Handle the event.
public
subscribe() : array<string|int, mixed>