CredentialEventSubscriber
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 Credential created job
- handleDelete() : void
- launch the credential deleted job
- handleUpdate() : void
- launch the credential 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 Credential created job
public
handleCreate(CredentialCreated $event) : void
Parameters
- $event : CredentialCreated
Return values
void —handleDelete()
launch the credential deleted job
public
handleDelete(CredentialDeleted $event) : void
Parameters
- $event : CredentialDeleted
Return values
void —handleUpdate()
launch the credential updated job
public
handleUpdate(CredentialUpdated $event) : void
Parameters
- $event : CredentialUpdated
Return values
void —subscribe()
Handle the event.
public
subscribe() : array<string|int, mixed>