orTrue() публичный метод

public orTrue ( )
Пример #1
0
 public function testOrTrueReturnsTrue()
 {
     $disjunction1 = new OrX(array($notNull = new Same('10')));
     $disjunction2 = $disjunction1->orTrue();
     $this->assertInstanceOf('Webmozart\\Expression\\Logic\\AlwaysTrue', $disjunction2);
 }