class Document extends Document

Methods

__construct(string $version = '1.0', string $encoding = 'utf-8')

No description

string
__toString()

No description

void
normalizeDocument()

No description

createTagElement(string $tagName, array $attributes = [])

Create an element that represents a tag

array
normalizeAttributeMap(array $attributes)

No description

Details

at line 25
__construct(string $version = '1.0', string $encoding = 'utf-8')

No description

Parameters

string $version

Version number of the document

string $encoding

Encoding of the document

at line 37
string __toString()

No description

Return Value

string

at line 51
void normalizeDocument()

No description

Return Value

void

at line 70
Element createTagElement(string $tagName, array $attributes = [])

Create an element that represents a tag

Parameters

string $tagName
array $attributes

Return Value

Element

at line 104
protected array normalizeAttributeMap(array $attributes)

No description

Parameters

array $attributes

Return Value

array $attributes