class final readonly Core · pdftoolkit/pdf 0.12.4

PDF\Specification\NameAlternatives
An explicit, closed set of case-sensitive PDF names from one reviewed source entry.

Read the source declaration ↗

Inheritance and contracts

This type declares no parent, interface or trait.

Construction

__construct()

public function __construct(PDF\Syntax\Object\NameType $first, PDF\Syntax\Object\NameType ...$others)

Declared by PDF\Specification\NameAlternatives · View the code ↗

Declared methods

validate()

public function validate(PDF\Syntax\FileStructure\BasicType $value): void

Declared by PDF\Specification\NameAlternatives · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly array $namesPDF\Specification\NameAlternatives
@var non-empty-list<NameType>