Index
in package
FinalYes
Provides information about the Index library.
Table of Contents
Constants
- PATH_ROOT = self::PATH_SOURCE . DIRECTORY_SEPARATOR . '..'
- PATH_SOURCE = __DIR__
- PATH_VERSION = self::PATH_ROOT . DIRECTORY_SEPARATOR . 'VERSION'
Methods
- version() : string
- Gets the current version of the Index library.
Constants
PATH_ROOT
public
mixed
PATH_ROOT
= self::PATH_SOURCE . DIRECTORY_SEPARATOR . '..'
PATH_SOURCE
public
mixed
PATH_SOURCE
= __DIR__
PATH_VERSION
public
mixed
PATH_VERSION
= self::PATH_ROOT . DIRECTORY_SEPARATOR . 'VERSION'
Methods
version()
Gets the current version of the Index library.
public
static version() : string
Reads the VERSION file in the root of the Index directory. Returns 0.0.0 if reading the file failed for any reason.
Return values
string —Current version string.