orX() 공개 정적인 메소드

Create a disjunction.
public static orX ( array $disjuncts ) : OrX
$disjuncts array The disjuncts.
리턴 Webmozart\Expression\Logic\OrX The created disjunction.
예제 #1
0
 public function testOrX()
 {
     $andX = new OrX(array(new LessThan(5), new GreaterThan(10)));
     $this->assertEquals($andX, Expr::orX(array(Expr::lessThan(5), Expr::greaterThan(10))));
 }