mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-01-22 20:17:31 +00:00
Trash items
This commit is contained in:
parent
48395c0ba7
commit
2b4418b1ff
|
@ -180,6 +180,18 @@ class GmailFilter
|
|||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Mark a message to be trashed.
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function trash()
|
||||
{
|
||||
$this->trash = TRUE;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a condition.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue