OpenGraphElement
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
- normalizeProperty() : string
Properties
$content
protected
string
$content
$property
protected
string
$property
Methods
__construct()
public
__construct(string $property, string $content) : mixed
Parameters
- $property : 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.
normalizeProperty()
protected
normalizeProperty(string $property) : string
Parameters
- $property : string