/** * {@inheritdoc} */ public function setValue($value) { if ($this->multiselect) { $value = is_array($value) ? $value : array($value); return parent::setValue($value); } return parent::setValue($value); }
/** * {@inheritdoc} */ public function setValue($value) { return parent::setValue((bool) $value); }
/** * 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); }