DeleteTrait
Generic repository `delete()` and `deleteAll()` through a bridge POST to the Api endpoint.
It is not tied to a module (Front/Admin), so both bridge stacks share it.
Table of Contents
Methods
Methods
delete()
public
delete(int|array<string|int, mixed> $id) : Result
Parameters
- $id : int|array<string|int, mixed>
Return values
ResultdeleteAll()
public
deleteAll([array<string|int, mixed> $filters = [] ]) : Result
Parameters
- $filters : array<string|int, mixed> = []