/**
* @var array<int>
*/
protected $categoryIds;
/**
* @param array<int|numeric-string> $categoryIds
*/
public function __construct(array
$categoryIds) { Assertion::
allIntegerish($categoryIds);
$this->categoryIds =
array_map('\intval',
$categoryIds);
sort($this->categoryIds, SORT_NUMERIC
);
} /**
* @return array<int>
*/
public function getCategoryIds() { return $this->categoryIds;
}