Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PHPVersion ¶
PHPVersion struct is a representation of a PHP version with methods to retrieve it.
func EightOne ¶
func EightOne() *PHPVersion
func EightTwo ¶
func EightTwo() *PHPVersion
func FromString ¶
func FromString(version string) (*PHPVersion, bool)
func Get ¶
func Get() (*PHPVersion, error)
func Latest ¶
func Latest() *PHPVersion
func (*PHPVersion) Equals ¶
func (v *PHPVersion) Equals(other *PHPVersion) bool
func (*PHPVersion) EqualsMajorMinor ¶
func (v *PHPVersion) EqualsMajorMinor(other *PHPVersion) bool
func (*PHPVersion) IsHigherThan ¶
func (v *PHPVersion) IsHigherThan(other *PHPVersion) bool
func (*PHPVersion) String ¶
func (v *PHPVersion) String() string
Click to show internal directories.
Click to hide internal directories.