Add has method

This commit is contained in:
Oliver Davies 2016-12-05 00:08:23 +00:00
parent a62bebf241
commit ec88e389cf

View file

@ -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.
*