blob: 71da49022a2240329aa51b02a42a4004c1253817 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<?php
namespace ipl\Stdlib\Filter;
class Equal extends Condition
{
/** @var bool */
protected $ignoreCase = false;
/**
* Ignore case on both sides of the equation
*
* @return $this
*/
public function ignoreCase()
{
$this->ignoreCase = true;
return $this;
}
/**
* Return whether this rule ignores case
*
* @return bool
*/
public function ignoresCase()
{
return $this->ignoreCase;
}
}
|