API Documentation

OpenGraphElement
in package
implements MetadataElementContract

Table of Contents

Interfaces

MetadataElementContract
The methods the object representations for Metadata element classes must implement.

Properties

$content  : string
$property  : string

Methods

__construct()  : mixed
__toString()  : string
uniqueKey()  : string
normalizeProperty()  : string

Properties

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
Return values
string

        
On this page

Search results