public function addParameter($name, $value)
    {
        Validate::isTrue(
            BatchOperationParameterName::isValid($name),
            Resources::INVALID_BO_PN_MSG
        );
        $this->_params[$name] = $value;
    }
public function addParameter($name, $value)
    {
        Validate::isTrue(
            BatchOperationParameterName::isValid($name),
            Resources::INVALID_BO_PN_MSG
        );
        $this->_params[$name] = $value;
    }
public function addParameter ( $ name , $ value ) { Validate :: isTrue ( BatchOperationParameterName :: isValid ( $ name ) , Resources :: INVALID_BO_PN_MSG ) ; $ this -> _params [ $ name ] = $ value ; }
Adds or sets parameter for the operation.

@param string $name  The param name. Must be valid name.
@param mixed  $value The param value.

@return void
Adds or sets parameter for the operation .