mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-09-05 13:05:34 +01:00
parent
842fc558b2
commit
ff15be5e32
3 changed files with 27 additions and 0 deletions
15
examples/filters.php
Normal file
15
examples/filters.php
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
use Opdavies\GmailFilterBuilder\Filter;
|
||||
|
||||
require_once __DIR__ . '/vendor/autoload.php';
|
||||
|
||||
return [
|
||||
Filter::create()
|
||||
->from('foo@example.com')
|
||||
->labelAndArchive('Example'),
|
||||
|
||||
Filter::create()
|
||||
->from('bar@example.com')
|
||||
->important(),
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue