public function addPossibleLength($possibleLength) { if (!in_array($possibleLength, $this->possibleLength)) { $this->possibleLength[] = $possibleLength; } }