final | |
|---|---|
implements |
Stringable |
One unfolded content line (RFC 5545, section 3.1): name *(";" param) ":" value BEGIN and END lines are content lines too, their value is the component name. $line = ContentLine::parse('ATTENDEE;CN="Doe, John";ROLE=REQ-PARTICIPANT:mailto:john@example.com'); $line->name; // "ATTENDEE" $line->parameters->get('CN'); // "Doe, John" $line->value; // "mailto:john@example.com"
| Methods | ||
|---|---|---|
public
|
__construct(string $name, string $rawParameters, string $value, int $line = 0)
|
# |
public
static
|
parse(string $line, int $number = 0): ?self
|
# |
public
|
isBegin(): bool
|
# |
public
|
isEnd(): bool
|
# |
public
|
componentName(): string
|
# |
public
|
__toString(): string
|
# |
| Properties | |||
|---|---|---|---|
public
|
Parameters
|
$parameters
|
# |
public
readonly
|
string
|
$name
|
# |
public
readonly
|
string
|
$rawParameters
|
# |
public
readonly
|
string
|
$value
|
# |
public
readonly
|
int
|
$line
|
# |