Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Doctrine
OXM
Version
PHP Class Doctrine\OXM\Version
See link:
www.doctrine-project.org
Since:
2.0
Author:
Richard Fullmer (
[email protected]
)
Show file
Open project: doctrine/oxm
Public Methods
Method
Description
compare
(
string
$version
) :
integer
Compares a Doctrine OXM version with the current one.
Method Details
compare()
public
static
method
Compares a Doctrine OXM version with the current one.
public
static
compare
(
string
$version
) :
integer
$version
string
Doctrine OXM version to compare.
return
integer
Returns -1 if older, 0 if it is the same, 1 if version passed as argument is newer.