ProjectUserRoleEventSubscriber
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 ProjectUserRole created job
- handleDelete() : void
- Launch the ProjectUserRole 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
$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 ProjectUserRole created job
public
handleCreate(ProjectUserRoleCreated $event) : void
Parameters
- $event : ProjectUserRoleCreated
Return values
void —handleDelete()
Launch the ProjectUserRole deleted job
public
handleDelete(ProjectUserRoleDeleted $event) : void
Parameters
- $event : ProjectUserRoleDeleted
Return values
void —subscribe()
Handle the event.
public
subscribe() : array<string|int, mixed>