AFRelationship

Backed enum for the PDF/A-3 embedded file /AFRelationship value, as validated by JavaScript::addEmbeddedFile().

Namespace: Com\Tecnick\Pdf

Backing type: string

File: AFRelationship.php line 37

Backed enum for the PDF/A-3 embedded file /AFRelationship value, as validated by JavaScript::addEmbeddedFile().

Tags

Cases

Source

File: AFRelationship.php line 39

Data

File: AFRelationship.php line 41

Alternative

File: AFRelationship.php line 43

Supplement

File: AFRelationship.php line 45

Unspecified

File: AFRelationship.php line 47

Methods

fromLoose()

File: AFRelationship.php line 59

public static fromLoose(string|self $value) : self

Accepts the exact relationship name or an enum instance (returned unchanged). Unknown values throw, matching addEmbeddedFile().

Parameters

  • $value : string|self: AFRelationship name or enum case.

Tags

  • throws: Exception if the value is not a known AFRelationship.

Return values

self