function setGroupSizes($groupSize) { $this->pattern['groupSize1'] = $groupSize[0]; $this->pattern['groupSize2'] = $groupSize[1]; }