Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 public function setValue($value)
 {
     if ($this->multiselect) {
         $value = is_array($value) ? $value : array($value);
         return parent::setValue($value);
     }
     return parent::setValue($value);
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function setValue($value)
 {
     return parent::setValue((bool) $value);
 }
Beispiel #3
0
 /**
  * Sets the value of the field.
  *
  * @param int $value
  *
  * @throws \InvalidArgumentException if the value is not an integer
  */
 public function setValue($value)
 {
     parent::setValue($value);
 }