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