class Languagefile

Language file class.

Properties

protected string $localPath The path on the local file system.
protected string $crowdinPath The path at crowdin.
protected string $title The language file title.
protected string $exportPattern The export pattern.

Methods

__construct(string $localPath, string $crowdinPath)

Constructor.

string
getLocalPath()

Get the local path.

string
getCrowdinPath()

Get the Crowdin path.

$this
setExportPattern(string $exportPattern)

Set the export pattern.

string
getExportPattern()

Get the export pattern.

$this
setTitle(string $title)

Set the title.

string
getTitle()

Get the title.

Details

at line 48
__construct(string $localPath, string $crowdinPath)

Constructor.

Parameters

string $localPath The path on the local file system.
string $crowdinPath The path on Crowdin.

at line 64
string getLocalPath()

Get the local path.

Return Value

string

at line 74
string getCrowdinPath()

Get the Crowdin path.

Return Value

string

at line 86
$this setExportPattern(string $exportPattern)

Set the export pattern.

Parameters

string $exportPattern The export pattern.

Return Value

$this

at line 98
string getExportPattern()

Get the export pattern.

Return Value

string

at line 110
$this setTitle(string $title)

Set the title.

Parameters

string $title The title.

Return Value

$this

at line 122
string getTitle()

Get the title.

Return Value

string