mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-02-02 08:57:31 +00:00
Update docblocks
This commit is contained in:
parent
8072fc5306
commit
58acfbb4a8
|
@ -45,14 +45,14 @@ class GmailFilter
|
|||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
* @return array
|
||||
*/
|
||||
public function getConditions() {
|
||||
return $this->conditions;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
* @return array
|
||||
*/
|
||||
public function getLabels() {
|
||||
return $this->labels;
|
||||
|
@ -79,10 +79,26 @@ class GmailFilter
|
|||
return $this->neverSpam;
|
||||
}
|
||||
|
||||
/**
|
||||
* Condition based on words within the email.
|
||||
*
|
||||
* @param string $value
|
||||
* The value to compare against.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function contains($value) {
|
||||
return $this->condition('hasTheWord', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Condition based on the subject.
|
||||
*
|
||||
* @param string $value
|
||||
* The value to compare against.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function subject($value) {
|
||||
return $this->condition('subject', $value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue