hasValue() hasValue(string $aValue) : boolean Does the value match? Parameters string $aValue a value to check Returns boolean
hasAnyValue() hasAnyValue(array<mixed,string> $aValueList) : boolean Is the value contained in a list of versions? Parameters array<mixed,string> $aValueList a list of values to check Returns boolean
__callStatic() __callStatic(string $aValue, array $arguments = array()) : self Factory constructor Parameters string $aValue the called method as a version value array $arguments unused arguments passed to the method Returns self Examples = Version::V101(); ** File not found : $version **
fromString() fromString(string $aValue) : self Convert a string into a Version instance Parameters string $aValue a version value Returns self
supported() supported() : array<mixed,string> List all supported versions Returns array<mixed,string>
__construct() __construct(string $aValue) Constructor Parameters string $aValue a version value Throws \InvalidArgumentException when the value is not recognized