Table of contents
Namespace: Com\Tecnick\Pdf\Import
final class PdfName
Source: src/Import/PdfName.php:34
Serializes decoded PDF name objects (PDF 32000-1 7.3.5).
Methods
token()
Return the PDF name token for a decoded name.
Bytes outside 0x21-0x7E, the delimiters and the number sign are written as #xx.
public static token(int|string $name): string
Parameters:
$name(int|string): Decoded name, without the leading solidus.
Returns: string: Name token, including the leading solidus.
Source: src/Import/PdfName.php:52