\Symfony\Component\VarDumper\CasterDOMCaster

Casts DOM related classes to array representation.

Summary

Methods
Properties
Constants
castException()
castLength()
castImplementation()
castNode()
castNameSpaceNode()
castDocument()
castCharacterData()
castAttr()
castElement()
castText()
castTypeinfo()
castDomError()
castLocator()
castDocumentType()
castNotation()
castEntity()
castProcessingInstruction()
castXPath()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$errorCodes
$nodeTypes
N/A

Properties

$errorCodes

$errorCodes

$nodeTypes

$nodeTypes

Methods

castException()

castException(\DOMException  $e, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMException $e
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castLength()

castLength(mixed  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

mixed $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castImplementation()

castImplementation(mixed  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

mixed $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castNode()

castNode(\DOMNode  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMNode $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castNameSpaceNode()

castNameSpaceNode(\DOMNameSpaceNode  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMNameSpaceNode $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castDocument()

castDocument(\DOMDocument  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested, mixed  $filter) : mixed

Parameters

\DOMDocument $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested
mixed $filter

Returns

mixed —

castCharacterData()

castCharacterData(\DOMCharacterData  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMCharacterData $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castAttr()

castAttr(\DOMAttr  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMAttr $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castElement()

castElement(\DOMElement  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMElement $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castText()

castText(\DOMText  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMText $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castTypeinfo()

castTypeinfo(\DOMTypeinfo  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMTypeinfo $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castDomError()

castDomError(\DOMDomError  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMDomError $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castLocator()

castLocator(\DOMLocator  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMLocator $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castDocumentType()

castDocumentType(\DOMDocumentType  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMDocumentType $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castNotation()

castNotation(\DOMNotation  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMNotation $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castEntity()

castEntity(\DOMEntity  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMEntity $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castProcessingInstruction()

castProcessingInstruction(\DOMProcessingInstruction  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMProcessingInstruction $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —

castXPath()

castXPath(\DOMXPath  $dom, array  $a, \Symfony\Component\VarDumper\Cloner\Stub  $stub, mixed  $isNested) : mixed

Parameters

\DOMXPath $dom
array $a
\Symfony\Component\VarDumper\Cloner\Stub $stub
mixed $isNested

Returns

mixed —