Implementation
class Implementation
Methods
__construct(string $name, string $version, string|null $title = null, string|null $description = null, array $icons = [], string|null $websiteUrl = null)
Create implementation metadata.
array
toArray()
Convert the implementation metadata to an array.
static Implementation|null
from(mixed $data)
Parse implementation metadata from a protocol message.
static string
stringAt(array $array, string $key, string|null $default = null)
Get a string value from the metadata.
static array
arrayAt(array $array, string $key, array|null $default = null)
Get an array value from the metadata.
Details
at line 18
__construct(string $name, string $version, string|null $title = null, string|null $description = null, array $icons = [], string|null $websiteUrl = null)
Create implementation metadata.
at line 33
array
toArray()
Convert the implementation metadata to an array.
at line 48
static Implementation|null
from(mixed $data)
Parse implementation metadata from a protocol message.
at line 85
static protected string
stringAt(array $array, string $key, string|null $default = null)
Get a string value from the metadata.
at line 103
static protected array
arrayAt(array $array, string $key, array|null $default = null)
Get an array value from the metadata.