ContentOpengraphImage

Implements \LocalizedContentAttributeInterface

Class ContentOpengraphImage

This class represents the localized content OpenGraph image

category

System

package

Content

Methods

ContentOpengraphImage constructor

__construct(string $opengraphImage, \LanguageCode $languageCode) 

Arguments

$opengraphImage

string

Content OpenGraph image

$languageCode

\LanguageCode

Language code

Return the content OpenGraph image

content() : string

Response

string

Return the language code

languageCode() : string

Response

string

Properties

Content OpenGraph image

opengraphImage : string
var

Type(s)

string

Language code

languageCode : string
var

Type(s)

string