MetadataElement
in package
implements
MetadataElementContract
Table of Contents
Interfaces
- MetadataElementContract
- The methods the object representations for Metadata element classes must implement.
Properties
Methods
- __construct() : mixed
- __toString() : string
- uniqueKey() : string
Properties
$content
protected
string
$content
$name
protected
string
$name
Methods
__construct()
public
__construct(string $name, string $content) : mixed
Parameters
- $name : string
- $content : string
__toString()
public
__toString() : string
Return values
string —The HTML representation of the element.
uniqueKey()
public
uniqueKey() : string
Return values
string —The unique key for the element. If multiple elements have the same key, only the first one will be used.