function getGroupSizes() { $group1 = $this->pattern['groupSize1']; $group2 = $this->pattern['groupSize2']; return array($group1, $group2); }