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

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

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

@param string $value
Requests to remove existing value