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