gmail-filter-builder/examples/filters.php
2018-08-07 09:18:07 +01:00

16 lines
280 B
PHP

<?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(),
];