PHP 클래스 Doctrine\OXM\Version

부터: 2.0
저자: Richard Fullmer ([email protected])
파일 보기 프로젝트 열기: doctrine/oxm

공개 메소드들

메소드 설명
compare ( string $version ) : integer Compares a Doctrine OXM version with the current one.

메소드 상세

compare() 공개 정적인 메소드

Compares a Doctrine OXM version with the current one.
public static compare ( string $version ) : integer
$version string Doctrine OXM version to compare.
리턴 integer Returns -1 if older, 0 if it is the same, 1 if version passed as argument is newer.