diff --git a/src/GmailFilter.php b/src/GmailFilter.php index 91e9887..3af98f2 100644 --- a/src/GmailFilter.php +++ b/src/GmailFilter.php @@ -91,6 +91,18 @@ class GmailFilter return $this->condition('hasTheWord', $value); } + /** + * Condition based on words within the email. + * + * @param string $value + * The value to compare against. + * + * @return $this + */ + public function has($value) { + return $this->contains($value); + } + /** * Condition based on the subject. *