final | |
|---|---|
readonly | |
implements |
Arrayable<array{uri: string, name?: string, _meta?: template-type<MetaObject, Arrayable, 'T'>}> |
Represents a root directory or file that the server can operate on.
| Methods | ||
|---|---|---|
public
|
__construct(string $uri, ?string $name = null, MetaObject $meta = new MetaObject())
|
# |
public
static
|
fromArray(array<string, mixed> $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$uri
|
# |
public
|
?string
|
$name
|
# |
public
|
MetaObject
|
$meta
|
# |