/** * @param int[] $categoryIds */ public function __construct(array $categoryIds) { Assertion::allIntegerish($categoryIds); $this->categoryIds = array_map('intval', $categoryIds); }
/** * @param int[] $valueIds */ public function __construct(array $valueIds) { Assertion::allIntegerish($valueIds); $this->valueIds = array_map('intval', $valueIds); }
/** * @param int[] $customerGroupIds */ public function __construct(array $customerGroupIds) { Assertion::allIntegerish($customerGroupIds); $this->customerGroupIds = array_map('intval', $customerGroupIds); }
/** * @param int[] $manufacturerIds */ public function __construct(array $manufacturerIds) { Assertion::allIntegerish($manufacturerIds); $this->manufacturerIds = array_map('intval', $manufacturerIds); }