Adds UpdateCustomer action, input, and output classes to handle customer information updates. Integrates with existing services and updates the CustomerController to utilize the new action.
16 lines
311 B
PHP
16 lines
311 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Actions\Crm;
|
|
|
|
use Domain\Models\ValueObjects\CrmCustomer;
|
|
use Illuminate\Validation\ValidationException;
|
|
|
|
final readonly class UpdateCustomerOutput
|
|
{
|
|
public function __construct(
|
|
public CrmCustomer | ValidationException | false $result
|
|
) {
|
|
}
|
|
}
|