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