22 lines
514 B
PHP
22 lines
514 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace App\Actions\Settings;
|
||
|
|
|
||
|
|
use App\Contracts\ActionInput;
|
||
|
|
use Domain\Models\ValueObjects\ShopperSiteCode;
|
||
|
|
use Webmozart\Assert\Assert;
|
||
|
|
|
||
|
|
final readonly class UpdateSettingsInput implements ActionInput
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @param array<int, \Domain\Models\ValueObjects\ShopperSiteCode> $employeeSites
|
||
|
|
*/
|
||
|
|
public function __construct(
|
||
|
|
public array $employeeSites = [],
|
||
|
|
) {
|
||
|
|
Assert::allIsInstanceOf($this->employeeSites, ShopperSiteCode::class);
|
||
|
|
}
|
||
|
|
}
|