class final Core · roukmoute/pdf 0.6.1

PDF\Document\Files\FileSpecificationString
Component separators and relative resolution, without filesystem or character conversion.

Read the source declaration ↗

Inheritance and contracts

Parent : PDF\Syntax\Object\StringObject\LiteralString

Interfaces : PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable

Construction

__construct()

public function __construct(PDF\Document\Files\FilePathKind $kind, PDF\Document\Files\FileNameComponent ...$components)

Declared by PDF\Document\Files\FileSpecificationString · View the code ↗

Declared methods

resolvedAgainst()

public function resolvedAgainst(self $containingFile): self
Non-URL resolution in7.11.2.2, PDF pages108–109; the containing filename is removed.

Declared by PDF\Document\Files\FileSpecificationString · View the code ↗

validateVersion()

public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): void

Declared by PDF\Document\Files\FileSpecificationString · View the code ↗

Inherited methods

2 methods from parents and contracts

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\StringType · View the code ↗

toPdf()

public function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Syntax\Object\StringObject\LiteralString · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly array $componentsPDF\Document\Files\FileSpecificationString
@var list<FileNameComponent>
public readonly PDF\Document\Files\FilePathKind $kindPDF\Document\Files\FileSpecificationString
public readonly string $valuePDF\Syntax\Object\StringType