src/PeekAndPoke/Component/Formal/Field/Atomic/Select/OptionMapper.php
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;
    }
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
@param mixed $value