Typo3Version
Table of Contents
Constants
Methods
- __construct() : mixed
- Define constants used up until TYPO3 v10, this constructor can be removed in TYPO3 v12.
- __toString() : string
- getBranch() : string
- getMajorVersion() : int
- Get 'major version' of version, e.g., '7' from '7.3.0'
- getVersion() : string
Constants
BRANCH
protected
mixed
BRANCH
= '11.5'
VERSION
protected
mixed
VERSION
= '11.5.42-dev'
Methods
__construct()
Define constants used up until TYPO3 v10, this constructor can be removed in TYPO3 v12.
public
__construct() : mixed
__toString()
public
__toString() : string
Return values
stringgetBranch()
public
getBranch() : string
Return values
stringgetMajorVersion()
Get 'major version' of version, e.g., '7' from '7.3.0'
public
getMajorVersion() : int
Return values
int —Major version, e.g., '7'
getVersion()
public
getVersion() : string