PHP Класс Doctrine\ORM\Version

С версии: 2.0
Автор: Benjamin Eberlei ([email protected])
Автор: Guilherme Blanco ([email protected])
Автор: Jonathan Wage ([email protected])
Автор: Roman Borschel ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
compare ( string $version ) : integer Compares a Doctrine version with the current one.

Описание методов

compare() публичный статический метод

Compares a Doctrine version with the current one.
public static compare ( string $version ) : integer
$version string Doctrine version to compare.
Результат integer Returns -1 if older, 0 if it is the same, 1 if version passed as argument is newer.