<T is array{name: non-empty-string, title?: non-empty-string}>abstract | |
|---|---|
readonly | |
implements |
JsonSerializable, Arrayable<T> |
Base interface for metadata with name (identifier) and title (display name) properties.
| Methods | ||
|---|---|---|
public
|
__construct(non-empty-string $name, null|non-empty-string $title = null)
|
# |
final
public
|
getDisplayName(): non-empty-string
|
# |
public
|
jsonSerialize(): T
|
# |
| Properties | |||
|---|---|---|---|
public
|
non-empty-string
|
$name
|
# |
public
|
null|non-empty-string
|
$title
|
# |