applyRelation($query); return $query->where("{$this->getDbName()} LIKE '%{$this->getValue()}%'"); } public function isEmpty() { return $this->getValue() == null || $this->getValue() == ''; } } ?>