mirror of
https://github.com/opdavies/gmail-filter-builder.git
synced 2025-09-04 20:55:34 +01:00
parent
a5a9d51db8
commit
bfc4d44751
4 changed files with 50 additions and 7 deletions
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
use Opdavies\Twig\Extensions\TwigBooleanStringExtension;
|
||||
|
||||
class GmailFilterBuilder
|
||||
{
|
||||
/**
|
||||
|
@ -30,6 +32,8 @@ class GmailFilterBuilder
|
|||
new Twig_Loader_Filesystem(__DIR__.'/../templates')
|
||||
);
|
||||
|
||||
$this->twig->addExtension(new TwigBooleanStringExtension());
|
||||
|
||||
$this->filters = $filters;
|
||||
|
||||
return $this->generate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue