ClassMap
in package
implements
Serializable
ClassMap dictionary — ISO 32000-2 §14.7.4.
Maps class names to structure-attribute objects (or arrays of them).
Lives inline on StructTreeRoot::$classMap.
Attributes
- #[RequiresPdfVersion]
- \Phpdftk\Pdf\Core\PdfVersion::V1_3
Table of Contents
Interfaces
- Serializable
- Contract for anything that can emit raw PDF syntax via `toPdf()`.
Properties
- $entries : array<string, StructAttribute|PdfReference|PdfArray>
Methods
- set() : self
- toDictionary() : PdfDictionary
- toPdf() : string
Properties
$entries
public
array<string, StructAttribute|PdfReference|PdfArray>
$entries
= []
Methods
set()
public
set(string $className, StructAttribute|PdfReference|PdfArray $value) : self
Parameters
- $className : string
- $value : StructAttribute|PdfReference|PdfArray
Return values
selftoDictionary()
public
toDictionary() : PdfDictionary
Return values
PdfDictionarytoPdf()
public
toPdf() : string