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