Exemplo n.º 1
0
 /**
  * @param int[] $categoryIds
  */
 public function __construct(array $categoryIds)
 {
     Assertion::allIntegerish($categoryIds);
     $this->categoryIds = array_map('intval', $categoryIds);
 }
Exemplo n.º 2
0
 /**
  * @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);
 }
Exemplo n.º 4
0
 /**
  * @param int[] $manufacturerIds
  */
 public function __construct(array $manufacturerIds)
 {
     Assertion::allIntegerish($manufacturerIds);
     $this->manufacturerIds = array_map('intval', $manufacturerIds);
 }