Swiftriver\Core\ObjectModel\LanguageSpecificText::__construct PHP Method

__construct() public method

Constructor for LanguageSpecificText objetc
public __construct ( string $languageCode, string $title, string[] $text )
$languageCode string the ISO 639-1 language code
$title string the title of the content
$text string[] the none-assositave array of the content text
    public function __construct($languageCode, $title, $text)
    {
        $this->languageCode = $languageCode;
        $this->title = $title;
        $this->text = $text;
    }
LanguageSpecificText