| Methods |
public
static
|
from(array<string, string|list<string>> $parameters): self
|
#
|
public
static
|
parse(string $raw): self
Parse the parameter part of a content line, e.g. 'CN="Doe, John";ROLE=CHAIR'.
Parts without "=" are ignored.
Parse the parameter part of a content line, e.g. 'CN="Doe, John";ROLE=CHAIR'.
Parts without "=" are ignored.
|
#
|
public
|
get(string $name): ?string
Value of a parameter; several values are joined by a comma.
Value of a parameter; several values are joined by a comma.
|
#
|
public
|
values(string $name): list<string>
|
#
|
public
|
has(string $name): bool
|
#
|
public
|
with(string $name, string|list<string>|null $value): self
Parameters
| $value |
null removes the parameter
|
|
#
|
public
|
all(): array<string, list<string>>
|
#
|
public
|
count(): int
|
#
|
public
|
getIterator(): Traversable
|
#
|
public
|
__toString(): string
Serialized form without the leading semicolon. Values with ":", ";" or "," are quoted,
DQUOTE, newlines and "^" are encoded as RFC 6868 requires, other control characters are removed.
Serialized form without the leading semicolon. Values with ":", ";" or "," are quoted,
DQUOTE, newlines and "^" are encoded as RFC 6868 requires, other control characters are removed.
|
#
|