class final readonly Core · pdftoolkit/pdf 0.12.4
PDF\Specification\ObjectTypeConstraintHéritage et contrats
Ce type ne déclare pas de parent, d’interface ou de 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)Méthodes déclarées
validate()
public function validate(PDF\Syntax\FileStructure\BasicType $value): voidPropriétés
| Déclaration | Provenance et 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 |