StringOptionValueBuilder.php
public function add($value)
    {
        if (!is_string($value)) {
            throw new UnexpectedTypeException($value, 'string', 'value');
        }
        if (empty($value)) {
            return;
        }

        if ($this->allowTokenize) {
            $this->values = array_merge($this->values, explode($this->delimiter, $value));
        } else {
            $this->values[] = $value;
        }
    }
public function add($value)
    {
        if (!is_string($value)) {
            throw new UnexpectedTypeException($value, 'string', 'value');
        }
        if (empty($value)) {
            return;
        }

        if ($this->allowTokenize) {
            $this->values = array_merge($this->values, explode($this->delimiter, $value));
        } else {
            $this->values[] = $value;
        }
    }
public function add ( $ value ) { if ( ! is_string ( $ value ) ) { throw new UnexpectedTypeException ( $ value , 'string' , 'value' ) ; } if ( empty ( $ value ) ) { return ; } if ( $ this -> allowTokenize ) { $ this -> values = array_merge ( $ this -> values , explode ( $ this -> delimiter , $ value ) ) ; } else { $ this -> values [ ] = $ value ; } }
Requests to add new value

@param string $value
Requests to add new value