diff --git a/src/BaseFilter.php b/src/BaseFilter.php new file mode 100644 index 0000000..267decb --- /dev/null +++ b/src/BaseFilter.php @@ -0,0 +1,45 @@ +baseFilter !== null; + } + + /** + * Get the base filter + * + * @return ?Rule + */ + public function getBaseFilter() + { + return $this->baseFilter; + } + + /** + * Set the base filter + * + * @param Rule $baseFilter + * + * @return $this + */ + public function setBaseFilter(Rule $baseFilter = null): self + { + $this->baseFilter = $baseFilter; + + return $this; + } +}