/** * Ensures that the value $value is set * @param string $value */ public function value($value) { if ($this->values->array_search($value) === FALSE) { $this->values[] = $value; } }