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

        if (array_key_exists($name, $this->override)) {
            return $this->override[$name];
        }

        return $this->original[$name];
    }
public function offsetGet($name)
    {
        if (!array_key_exists($name, $this->original)) {
            throw BuilderException::argNotDefined($name);
        }

        if (array_key_exists($name, $this->override)) {
            return $this->override[$name];
        }

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

This method will return the value for the argument.

$value = $arguments['name'];

If the original argument value was changed, the new value will be
returned. If the original argument value was not changed, the original
value will be returned.

@param string $name The name of an argument.

@return mixed The value of the argument.

@throws BuilderException If the argument is not defined.

@api
Returns the value for an argument .