Appearance
Relationships
php
final readonly class PPTXenigma\RelationshipsThe relationships of a file of the archive: the files and the links that it refers to.
Source: src/Relationships.php
Methods
of()
php
public static function of(Archive $archive, string $path): selfThe relationships that the file at the given path of the archive lists, none if it lists nothing.
firstTarget()
php
public function firstTarget(string $type): stringtargets()
php
public function targets(string $type = null): array| Parameter | Description |
|---|---|
$type | the end of the type of the relationships to keep, such as "/slide"; null keeps them all |
Returns array<string, string> the target of each relationship, by id