Doctrine\Common\Version
/Doctrine/Common/Version.php at line 36
Class Version
Version
public class Version
- License:
- http://www.opensource.org/licenses/lgpl-license.php LGPL
- See Also:
www.doctrine-project.org
- Since:
- 2.0
- Version:
- $Revision$
- Author:
- Benjamin Eberlei
- Guilherme Blanco
- Jonathan Wage
- Roman Borschel
Field Summary |
final str |
VERSION Current Doctrine Version |
Method Summary |
static int |
compare(string version) Compares a Doctrine version with the current one. |
Field Detail
/Doctrine/Common/Version.php at line 41
VERSION
public final str VERSION = '2.0-DEV'
Method Detail
/Doctrine/Common/Version.php at line 50
compare
public static int compare(string version)
Compares a Doctrine version with the current one.
- Parameters:
- version - Doctrine version to compare.
- Returns:
- Returns -1 if older, 0 if it is the same, 1 if version passed as argument is newer.
Class to store and retrieve the version of Doctrine