class Stats (View source)

Properties

protected string $formatHandle

The translations file format handle.

protected string $filename

The translations file name.

protected string $version

The version of the translations.

protected DateTime|null $updatedOn

The date/time of the last update of the translations (null if and only if no translated string is present).

Methods

__construct(string $formatHandle, string $filename, string $version, DateTime $updatedOn = null)

No description

string
getFormatHandle()

Get the translations file format handle.

string
getFilename()

Get the translations file name.

string
getFileDisplayName()

Get the display name of the translation file.

string
getVersion()

Get the version of the translations.

DateTime|null
getUpdatedOn()

Get the date/time of the last update of the translations (null if and only if no translated string is present).

Details

__construct(string $formatHandle, string $filename, string $version, DateTime $updatedOn = null)

No description

Parameters

string $formatHandle

the translations file format handle

string $filename

the translations file name

string $version

the version of the file

DateTime $updatedOn

the date/time of the last update of the translations (null if and only if no translated string is present)

string getFormatHandle()

Get the translations file format handle.

Return Value

string

string getFilename()

Get the translations file name.

Return Value

string

string getFileDisplayName()

Get the display name of the translation file.

Return Value

string

string getVersion()

Get the version of the translations.

Return Value

string

DateTime|null getUpdatedOn()

Get the date/time of the last update of the translations (null if and only if no translated string is present).

Return Value

DateTime|null