public function offsetSet($name, $value)
    {
        if (!array_key_exists($name, $this->original)) {
            throw BuilderException::argNotDefined($name);
        }

        $this->override[$name] = $value;
    }
public function offsetSet($name, $value)
    {
        if (!array_key_exists($name, $this->original)) {
            throw BuilderException::argNotDefined($name);
        }

        $this->override[$name] = $value;
    }
public function offsetSet ( $ name , $ value ) { if ( ! array_key_exists ( $ name , $ this -> original ) ) { throw BuilderException :: argNotDefined ( $ name ) ; } $ this -> override [ $ name ] = $ value ; }
Sets the override value for an argument.

This method will replace the original value of the argument.

$arguments['name'] = 'new value';

Technically, the value is not replace. What will happen is that the
new value set will be returned (when accessed) instead of the original
one.

@param string $name  The name of an argument.
@param mixed  $value The value of the argument.

@throws BuilderException If the argument is not defined.

@api
Sets the override value for an argument .