(PECL haru >= 0.0.1)
HaruDoc::setInfoAttr — Set the info attribute of the document
Defines an info attribute. Uses the current encoding of the document.
The type of the attribute. Can be one of the following:
The value of the attribute.
Returns TRUE on success.
Throws HaruException on error.