ContentText

Implements \LocalizedContentAttributeInterface

Class ContentText

This class represents the localized content text

category

System

package

Content

Methods

ContentText constructor

__construct(\StringType $text, \LanguageCode $languageCode) 

Arguments

$text

\StringType

Content text

$languageCode

\LanguageCode

Language code

Return the content text

content() : string

Response

string

Return the language code

languageCode() : string

Response

string

Properties

Content text

text : \StringType
var

Type(s)

\StringType

Language code

languageCode : string
var

Type(s)

string