replaceBooleanWords() 공개 정적인 메소드

Replace the following reserved words (because part of the query language) AND OR NOT.
public static replaceBooleanWords ( string $term ) : string
$term string Query term to replace
리턴 string Replaced query term
예제 #1
0
 /**
  * @group unit
  * @dataProvider getReplaceBooleanWordsPairs
  */
 public function testReplaceBooleanWords($before, $after)
 {
     $this->assertEquals($after, Util::replaceBooleanWords($before));
 }