예제 #1
0
 /**
  * Checks whether this version satisfies an expression
  * @param  expression $versions The expression to check against
  * @return bool
  */
 public function satisfies(expression $versions)
 {
     return $versions->satisfiedBy($this);
 }
예제 #2
0
파일: version.php 프로젝트: LobbyOS/server
 /**
  * Checks whether this version satisfies an expression
  * @param expression $versions The expression to check against
  * @return bool 
  */
 function satisfies(expression $versions)
 {
     return $versions->satisfiedBy($this) !== false;
 }