| Methods |
public
static
|
new(
?string $uid = null,
?string $name = null,
?string $description = null,
array{(float|int), (float|int)}|null $geo = null,
iterable<string> $types = [],
?string $url = null,
PropertyList $properties = [],
): self
A new VLOCATION for the locations of Event::new() and Todo::new().
A new VLOCATION for the locations of Event::new() and Todo::new().
Parameters
| $uid |
UID, a random UUID when null
|
| $geo |
latitude and longitude
|
| $types |
LOCATION-TYPE values of RFC 4589, e.g. "parking"
|
| $properties |
other properties, e.g. STRUCTURED-DATA
|
Throws
|
#
|
public
|
property(string $name): ?Property
|
#
|
public
|
value(string $name): mixed
Typed value of the first property with the name, see ValueParser::value().
Typed value of the first property with the name, see ValueParser::value().
|
#
|
public
|
uid(): ?string
|
#
|
public
|
name(): ?string
|
#
|
public
|
description(): ?string
|
#
|
public
|
types(): list<string>
LOCATION-TYPE values of RFC 4589, e.g. "hotel", "parking" or "restaurant".
LOCATION-TYPE values of RFC 4589, e.g. "hotel", "parking" or "restaurant".
|
#
|
public
|
url(): ?string
|
#
|