Class Phalcon\Version
| Namespace | Phalcon |
This class allows to get the installed version of the framework
Constants¶
const VERSION_MAJOR = 0;
const VERSION_MEDIUM = 1;
const VERSION_MINOR = 2;
const VERSION_SPECIAL = 3;
const VERSION_SPECIAL_NUMBER = 4;
Methods¶
Returns the active version (string) Returns the numeric active version Returns a specific part of the version. If the wrong parameter is passed it will return the full version Area where the version number is set. The format is as follows: ABBCCDEA - Major version B - Med version (two digits) C - Min version (two digits) D - Special release: 1 = alpha, 2 = beta, 3 = RC, 4 = stable E - Special release version i.e. RC1, Beta2 etc.
@todo Remove in v5 @deprecated Use getVersion()
Area where the version number is set. The format is as follows: ABBCCDEA - Major version B - Med version (two digits) C - Min version (two digits) D - Special release: 1 = alpha, 2 = beta, 3 = RC, 4 = stable E - Special release version i.e. RC1, Beta2 etc.