Copied!
Cloneable Instantiable
Constants
public Composer\Semver\Semver ::SORT_ASC = 1
public Composer\Semver\Semver ::SORT_DESC = -1
Methods
public static rsort ( array $versions )
 

Sort given array of versions in reverse.

  • param string [] $versions
  • return string []
public static satisfiedBy ( array $versions , $constraints )
 

Return all versions that satisfy given constraints.

  • param string [] $versions
  • param string $constraints
  • return string []
public static satisfies ( $version , $constraints )
 

Determine if given version satisfies given constraints.

  • param string $version
  • param string $constraints
  • return bool
public static sort ( array $versions )
 

Sort given array of versions.

  • param string [] $versions
  • return string []
Properties
private static $versionParser
Methods
private static usort ( array $versions , $direction )
 
  • param string [] $versions
  • param int $direction
  • return string []
Properties
private static $versionParser
Methods
public static rsort ( array $versions )
 

Sort given array of versions in reverse.

  • param string [] $versions
  • return string []
public static satisfiedBy ( array $versions , $constraints )
 

Return all versions that satisfy given constraints.

  • param string [] $versions
  • param string $constraints
  • return string []
public static satisfies ( $version , $constraints )
 

Determine if given version satisfies given constraints.

  • param string $version
  • param string $constraints
  • return bool
public static sort ( array $versions )
 

Sort given array of versions.

  • param string [] $versions
  • return string []
private static usort ( array $versions , $direction )
 
  • param string [] $versions
  • param int $direction
  • return string []
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration