Skip to content

Commit 6a44871

Browse files
authored
Merge pull request #16 from ukfast/custom
Added custom filter
2 parents b5f186e + f853a78 commit 6a44871

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/FilterBuilder.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ public function boolean($trueVal = 1, $falseVal = 0)
3939
return $this->wrapFilter(new BooleanFilter($trueVal, $falseVal));
4040
}
4141

42+
public function custom($filter)
43+
{
44+
return $this->wrapFilter($filter);
45+
}
46+
4247
public function for($column)
4348
{
4449
return $this->wrap(new MapFilter($column));

0 commit comments

Comments
 (0)