Documentation

Version
in package

Class to store and retrieve the version of Doctrine.

Tags
link
www.doctrine-project.org
since
2.0
author

Benjamin Eberlei kontakt@beberlei.de

author

Guilherme Blanco guilhermeblanco@hotmail.com

author

Jonathan Wage jonwage@gmail.com

author

Roman Borschel roman@code-factory.org

Table of Contents

VERSION  = '2.5.13'
Current Doctrine Version.
compare()  : int
Compares a Doctrine version with the current one.

Constants

VERSION

Current Doctrine Version.

public mixed VERSION = '2.5.13'

Methods

compare()

Compares a Doctrine version with the current one.

public static compare(string $version) : int
Parameters
$version : string

The Doctrine version to compare to.

Return values
int

-1 if older, 0 if it is the same, 1 if version passed as argument is newer.

Search results