phpDocumentor

ContentTitle
in package
implements LocalizedContentAttributeInterface, JsonSerializable

Class ContentTitle

This class represents the localized content title

Tags
category

System

Interfaces, Classes and Traits

LocalizedContentAttributeInterface
Interface LocalizedContentAttributeInterface
JsonSerializable

Table of Contents

$languageCode  : string
Language code
$title  : string
Content title
__construct()  : mixed
ContentTitle constructor
content()  : string
Return the content title
jsonSerialize()  : mixed
Specify data which should be serialized to JSON
languageCode()  : string
Return the language code

Properties

Methods

__construct()

ContentTitle constructor

public __construct(string $title, LanguageCode $languageCode) : mixed
Parameters
$title : string

Content title

$languageCode : LanguageCode

Language code

Return values
mixed

content()

Return the content title

public content() : string
Return values
string

languageCode()

Return the language code

public languageCode() : string
Return values
string

Search results