Documentation

DecoratedDOMWriter
in package
implements DOMWriterInterface

FinalYes

DOM writer decorator that rewrites links in generated DOM output.

Tags
author

Daniel Schulz

since
2018-04-27

Table of Contents

Interfaces

DOMWriterInterface

Methods

__construct()  : mixed
toDocument()  : DOMDocument
toElement()  : DOMElement

Methods

__construct()

public __construct(DOMWriterInterface $source, Set<string|int, FarahUrl> $stylesheets, Set<string|int, FarahUrl> $scripts, Set<string|int, FarahUrl> $modules, Set<string|int, FarahUrl> $contents) : mixed
Parameters
$source : DOMWriterInterface
$stylesheets : Set<string|int, FarahUrl>
$scripts : Set<string|int, FarahUrl>
$modules : Set<string|int, FarahUrl>
$contents : Set<string|int, FarahUrl>

toElement()

public toElement(DOMDocument $targetDoc) : DOMElement
Parameters
$targetDoc : DOMDocument
Return values
DOMElement
On this page

Search results