ProductRelationEventSubscriber
in package
Table of Contents
- __construct() : void
- Create the event listener.
- handleCreate() : void
- Launch the ProductRelation created job
- handleDelete() : void
- Launch the ProductRelation deleted job
- handleUpdate() : void
- Launch the ProductRelation updated job
- subscribe() : array<string|int, mixed>
- Handle the event.
Methods
__construct()
Create the event listener.
public
__construct() : void
Return values
void —handleCreate()
Launch the ProductRelation created job
public
handleCreate(ProductRelationCreated $event) : void
Parameters
- $event : ProductRelationCreated
Return values
void —handleDelete()
Launch the ProductRelation deleted job
public
handleDelete(ProductRelationDeleted $event) : void
Parameters
- $event : ProductRelationDeleted
Return values
void —handleUpdate()
Launch the ProductRelation updated job
public
handleUpdate(ProductRelationUpdated $event) : void
Parameters
- $event : ProductRelationUpdated
Return values
void —subscribe()
Handle the event.
public
subscribe() : array<string|int, mixed>