ValueDecoder
FinalYes
Methods
- __construct() : mixed
- decoderFor() : ValueDecoder
- htmlDocumentFromString() : object
- htmlElementFromString() : object
- xmlDocumentFromString() : DOMDocument
- xmlElementFromString() : DOMElement
Methods
__construct()
public
__construct() : mixed
decoderFor()
public
decoderFor(Type<string|int, mixed> $type) : ValueDecoder
Parameters
- $type : Type<string|int, mixed>
Tags
Return values
ValueDecoderhtmlDocumentFromString()
public
static htmlDocumentFromString(string $html) : object
Parameters
- $html : string
Return values
objecthtmlElementFromString()
public
static htmlElementFromString(string $html) : object
Parameters
- $html : string
Return values
objectxmlDocumentFromString()
public
static xmlDocumentFromString(string $xml) : DOMDocument
Parameters
- $xml : string
Return values
DOMDocumentxmlElementFromString()
public
static xmlElementFromString(string $xml) : DOMElement
Parameters
- $xml : string