public function mapFromForm($value)
    {
        foreach ($this->options as $option) {
            if ((string) $option->getFormValue() === (string) $value) {
                return $option->getRealValue();
            }
        }

        return null;
    }
public function mapFromForm($value)
    {
        foreach ($this->options as $option) {
            if ((string) $option->getFormValue() === (string) $value) {
                return $option->getRealValue();
            }
        }

        return null;
    }
@param mixed $value

@return mixed|null