Copied!
Cloneable Instantiable
Methods
public static compare ( $version1 , $operator , $version2 )
 

Evaluates the expression: $version1 $operator $version2.

  • param string $version1
  • param string $operator
  • param string $version2
  • return bool
  • phpstan-param Constraint::STROP* $operator
public static equalTo ( $version1 , $version2 )
 

Evaluates the expression: $version1 == $version2.

  • param string $version1
  • param string $version2
  • return bool
public static greaterThan ( $version1 , $version2 )
 

Evaluates the expression: $version1 > $version2.

  • param string $version1
  • param string $version2
  • return bool
public static greaterThanOrEqualTo ( $version1 , $version2 )
 

Evaluates the expression: $version1 >= $version2.

  • param string $version1
  • param string $version2
  • return bool
public static lessThan ( $version1 , $version2 )
 

Evaluates the expression: $version1 < $version2.

  • param string $version1
  • param string $version2
  • return bool
public static lessThanOrEqualTo ( $version1 , $version2 )
 

Evaluates the expression: $version1 <= $version2.

  • param string $version1
  • param string $version2
  • return bool
public static notEqualTo ( $version1 , $version2 )
 

Evaluates the expression: $version1 != $version2.

  • param string $version1
  • param string $version2
  • return bool
Methods
public static compare ( $version1 , $operator , $version2 )
 

Evaluates the expression: $version1 $operator $version2.

  • param string $version1
  • param string $operator
  • param string $version2
  • return bool
  • phpstan-param Constraint::STROP* $operator
public static equalTo ( $version1 , $version2 )
 

Evaluates the expression: $version1 == $version2.

  • param string $version1
  • param string $version2
  • return bool
public static greaterThan ( $version1 , $version2 )
 

Evaluates the expression: $version1 > $version2.

  • param string $version1
  • param string $version2
  • return bool
public static greaterThanOrEqualTo ( $version1 , $version2 )
 

Evaluates the expression: $version1 >= $version2.

  • param string $version1
  • param string $version2
  • return bool
public static lessThan ( $version1 , $version2 )
 

Evaluates the expression: $version1 < $version2.

  • param string $version1
  • param string $version2
  • return bool
public static lessThanOrEqualTo ( $version1 , $version2 )
 

Evaluates the expression: $version1 <= $version2.

  • param string $version1
  • param string $version2
  • return bool
public static notEqualTo ( $version1 , $version2 )
 

Evaluates the expression: $version1 != $version2.

  • param string $version1
  • param string $version2
  • return bool
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration