Refactored the codebase to change the namespaces of various actions and queries from `App\Actions` to `App\Cqs\Actions` and `App\Queries` to `App\Cqs\Queries`. This restructuring improves organization and clarity in the codebase.
24 lines
545 B
PHP
24 lines
545 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Cqs\Queries\Shops;
|
|
|
|
use App\Dto\ShopDto;
|
|
use Carbon\CarbonPeriod;
|
|
use Carbon\WeekDay;
|
|
use Domain\Models\ValueObjects\EditablePickupExceptionForShop;
|
|
|
|
final readonly class GetShopPickupExceptionsQueryOutput
|
|
{
|
|
/**
|
|
* @param array<int, EditablePickupExceptionForShop> $pickupExceptions
|
|
*/
|
|
public function __construct(
|
|
public ShopDto $shop,
|
|
public array $pickupExceptions,
|
|
public WeekDay $pickupDay,
|
|
public CarbonPeriod $pickupPeriod,
|
|
) {
|
|
}
|
|
}
|