class RequestBlock

Constants

XML_VERSION

Methods

__construct(array $params, Content $contentBlock)

Initializes the class with the given parameters.

writeXml()

Generate the request XML writer

Details

at line line 51
__construct(array $params, Content $contentBlock)

Initializes the class with the given parameters.

The constructor accepts the following options:

  • encoding (string, default=string "UTF-8") Encoding to use

Parameters

array $params RequestBlock configuration options
Content $contentBlock ContentBlock of request

Exceptions

InvalidArgumentException

at line line 71
XMLWriter writeXml()

Generate the request XML writer

Return Value

XMLWriter