DeleteMultipleCustomerMemosAction
in package
Class DeleteMultipleCustomerMemosAction
Table of Contents
- $customerId : int
- $readService : CustomerMemoReadService
- $writeService : CustomerMemoWriteService
- __construct() : mixed
- __invoke() : Response
- validateMemoBelongsToCustomer() : void
Properties
$customerId
private
int
$customerId
$readService
private
CustomerMemoReadService
$readService
$writeService
private
CustomerMemoWriteService
$writeService
Methods
__construct()
public
__construct(CustomerMemoWriteService $writeService, CustomerMemoReadService $readService) : mixed
Parameters
- $writeService : CustomerMemoWriteService
- $readService : CustomerMemoReadService
Return values
mixed —__invoke()
public
__invoke(Request $request, Response $response, array<string|int, mixed> $args) : Response
Parameters
Return values
Response —validateMemoBelongsToCustomer()
private
validateMemoBelongsToCustomer(int $memoId) : void
Parameters
- $memoId : int