src/Form/Components/Select.php
public function setValues($values)
  {
    if (count($values) > 0) {
      foreach ($values as $label => $value) {
        $this->addValue($value, $label);
      }
    }
  }
public function setValues($values)
  {
    if (count($values) > 0) {
      foreach ($values as $label => $value) {
        $this->addValue($value, $label);
      }
    }
  }
Définit les valeurs du Select

@param array $values Tableau de valeurs (clé/valeur) ex. array('label'=>'val','label','val');