phpdftk API Documentation

XmpPacket
in package

FinalYes

Immutable bag of XMP metadata properties.

Properties are stored as namespace-prefixed keys (e.g., "dc:title"). set() returns a new instance — the original is never mutated.

Table of Contents

Methods

all()  : array<string, string>
create()  : self
get()  : string|null
has()  : bool
set()  : self

Methods

all()

public all() : array<string, string>
Return values
array<string, string>

create()

public static create() : self
Return values
self

get()

public get(string $key) : string|null
Parameters
$key : string
Return values
string|null

has()

public has(string $key) : bool
Parameters
$key : string
Return values
bool

set()

public set(string $key, string $value) : self
Parameters
$key : string
$value : string
Return values
self

        
On this page

Search results