SecurityGroupRuleEventSubscriber
in package
Table of Contents
- $apiVersionManager : ApiVersionManager
- The API version manager, used to retrieve the correct service
- __construct() : void
- Create the event listener.
- handleCreate() : void
- Launch the SecurityGroupRule created job
- handleDelete() : void
- Launch the SecurityGroupRule deleted job
- subscribe() : array<string|int, mixed>
- Handle the event.
Properties
$apiVersionManager
The API version manager, used to retrieve the correct service
private
ApiVersionManager
$apiVersionManager
Methods
__construct()
Create the event listener.
public
__construct(ApiVersionManager $apiVersionManager) : void
Parameters
- $apiVersionManager : ApiVersionManager
Return values
void —handleCreate()
Launch the SecurityGroupRule created job
public
handleCreate(SecurityGroupRuleCreated $event) : void
Parameters
- $event : SecurityGroupRuleCreated
Return values
void —handleDelete()
Launch the SecurityGroupRule deleted job
public
handleDelete(SecurityGroupRuleDeleted $event) : void
Parameters
- $event : SecurityGroupRuleDeleted
Return values
void —subscribe()
Handle the event.
public
subscribe() : array<string|int, mixed>