PHP 클래스 Doctrine\ORM\Version

부터: 2.0
저자: Benjamin Eberlei ([email protected])
저자: Guilherme Blanco ([email protected])
저자: Jonathan Wage ([email protected])
저자: Roman Borschel ([email protected])
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
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.