class final readonly Core · pdftoolkit/pdf 0.12.4
PDF\Specification\ObjectTypeConstraintInheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(string $specificationType, bool $indirect = false, bool $direct = false, bool $directArrayElements = false, ?string $fixedName = null, bool $indirectArrayElements = false, ?self $arrayElementConstraint = null, ?PDF\Specification\NameAlternatives $nameAlternatives = null, ?int $arrayLength = null)Declared methods
validate()
public function validate(PDF\Syntax\FileStructure\BasicType $value): voidProperties
| Declaration | Origin and documentation |
|---|---|
public readonly ?self $arrayElementConstraint | PDF\Specification\ObjectTypeConstraint |
public readonly ?int $arrayLength | PDF\Specification\ObjectTypeConstraint |
public readonly array $classes | PDF\Specification\ObjectTypeConstraint@var list<class-string<BasicType>> |
public readonly bool $direct | PDF\Specification\ObjectTypeConstraint |
public readonly bool $directArrayElements | PDF\Specification\ObjectTypeConstraint |
public readonly ?string $fixedName | PDF\Specification\ObjectTypeConstraint |
public readonly bool $indirect | PDF\Specification\ObjectTypeConstraint |
public readonly bool $indirectArrayElements | PDF\Specification\ObjectTypeConstraint |
public readonly ?PDF\Specification\NameAlternatives $nameAlternatives | PDF\Specification\ObjectTypeConstraint |
public readonly string $specificationType | PDF\Specification\ObjectTypeConstraint |