XmlDocumentPhysical implements Physical
Read onlyYes
FinalYes
Interfaces
Constants
- DECLARATION : string = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
Methods
- fromPhysical() : mixed
- fromPhysicalAll() : array<int, mixed>
- physical() : string
- text() : string|null
- The outer XML of bytes physical() produced, null for any other bytes: an older declaration, or a comment, PI, DOCTYPE or declaration beside the root.
- toPhysical() : mixed
Constants
DECLARATION
public
string
DECLARATION
= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
Methods
fromPhysical()
public
fromPhysical(mixed $physical) : mixed
Parameters
- $physical : mixed
-
never null
fromPhysicalAll()
public
fromPhysicalAll(array<string|int, mixed> $physicals) : array<int, mixed>
Parameters
- $physicals : array<string|int, mixed>
-
nulls stay null
Return values
array<int, mixed>physical()
public
physical(string $outerXml) : string
Parameters
- $outerXml : string
Return values
stringtext()
The outer XML of bytes physical() produced, null for any other bytes: an older declaration, or a comment, PI, DOCTYPE or declaration beside the root.
public
text(string $physical) : string|null
Parameters
- $physical : string
Return values
string|nulltoPhysical()
public
toPhysical(mixed $value) : mixed
Parameters
- $value : mixed
-
already cast by the column's Type, never null