ContentOpengraphImage
in package
implements
LocalizedContentAttributeInterface
Class ContentOpengraphImage
This class represents the localized content OpenGraph image
Tags
Interfaces, Classes and Traits
- LocalizedContentAttributeInterface
- Interface LocalizedContentAttributeInterface
Table of Contents
- $languageCode : string
- Language code
- $opengraphImage : string
- Content OpenGraph image
- __construct() : mixed
- ContentOpengraphImage constructor
- content() : string
- Return the content OpenGraph image
- languageCode() : string
- Return the language code
Properties
$languageCode
Language code
protected
string
$languageCode
$opengraphImage
Content OpenGraph image
protected
string
$opengraphImage
Methods
__construct()
ContentOpengraphImage constructor
public
__construct(string $opengraphImage, LanguageCode $languageCode) : mixed
Parameters
- $opengraphImage : string
-
Content OpenGraph image
- $languageCode : LanguageCode
-
Language code
Return values
mixed —content()
Return the content OpenGraph image
public
content() : string
Return values
string —languageCode()
Return the language code
public
languageCode() : string