‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Information\Typo3Version Class Reference

Public Member Functions

 getVersion ()
 
 getBranch ()
 
int getMajorVersion ()
 
 __toString ()
 

Protected Attributes

const VERSION = '13.1.0-dev'
 
const BRANCH = '13.1'
 

Detailed Description

Definition at line 20 of file Typo3Version.php.

Member Function Documentation

◆ __toString()

TYPO3\CMS\Core\Information\Typo3Version::__toString ( )

◆ getBranch()

TYPO3\CMS\Core\Information\Typo3Version::getBranch ( )

◆ getMajorVersion()

int TYPO3\CMS\Core\Information\Typo3Version::getMajorVersion ( )

Get 'major version' of version, e.g., '7' from '7.3.0'

Returns
‪int Major version, e.g., '7'

Definition at line 40 of file Typo3Version.php.

◆ getVersion()

TYPO3\CMS\Core\Information\Typo3Version::getVersion ( )

Member Data Documentation

◆ BRANCH

const TYPO3\CMS\Core\Information\Typo3Version::BRANCH = '13.1'
protected

Definition at line 23 of file Typo3Version.php.

◆ VERSION

const TYPO3\CMS\Core\Information\Typo3Version::VERSION = '13.1.0-dev'
protected

Definition at line 22 of file Typo3Version.php.