replaceBooleanWords() public static method

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
return string Replaced query term
Example #1
0
 /**
  * @group unit
  * @dataProvider getReplaceBooleanWordsPairs
  */
 public function testReplaceBooleanWords($before, $after)
 {
     $this->assertEquals($after, Util::replaceBooleanWords($before));
 }