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