330d6f9393
Add a filter() helper method
...
Add a namespaced `filter()` method that can be imported via `use
function` and use it as an alternative for `new Filter` or
`Filter::create()`.
This provides a cleaner, easier to read syntax - particularly if you
have a lot of filters in the same file.
2020-07-09 23:16:03 +01:00
31cfaf8f6f
Add shortcuts for input and output files
2020-07-09 17:55:33 +01:00
9d18af8027
Check for absolute paths to filters file
2020-07-09 17:55:20 +01:00
6aeeb5b2c4
Add support for multiple address file directories
...
Fixes #13
2018-12-27 22:00:52 +00:00
cdefa25638
Make methods static
2018-08-26 20:48:33 +01:00
abe0521be7
Remove string typehint
2018-08-21 10:21:52 +01:00
1c97d0198c
Remove string typehint
...
PHP 5 compatibility
2018-08-21 09:38:12 +01:00
c4d53e16fb
Fix directory path, remove double slash
2018-08-21 09:23:31 +01:00
d8b10d8f49
Add ability to load filters from partials
...
Issue #12
2018-08-21 09:14:22 +01:00
7b2ffc5b55
Move Addresses into Service
2018-08-21 08:42:35 +01:00
b63ebb59b3
Add Addresses class
...
Fixes #11
2018-08-20 14:06:23 +01:00
d112fce009
Rename method. Fix PHP 5.6 error
2018-08-15 21:48:19 +01:00
5a0489c61e
Add ability to filter by mailing list
2018-08-15 21:36:37 +01:00
d916b8e165
Allow for setting multiple subject conditions
2018-06-01 20:26:06 +01:00
0ca7436297
Add the toArray method on Filter
2018-06-01 19:33:57 +01:00
9f1d80f968
Ensure that empty values do not add to or from conditions
2018-06-01 19:31:24 +01:00
2d6aff0f4d
Update Filter import
2018-06-01 17:18:39 +01:00
Oliver Davies
2f71ff8bda
Fix CS issues
2018-03-20 20:34:32 +00:00
Oliver Davies
4c27943f70
Fix filter file paths
2018-02-13 02:52:55 +00:00
Oliver Davies
b9b41aa437
Fix output for tests to pass again
2018-01-15 09:24:42 +00:00
Oliver Davies
6d6f5596ce
Change arguments to options
2018-01-11 09:03:31 +00:00
Oliver Davies
9410609588
Dump file, add output
2018-01-11 00:48:02 +00:00
Oliver Davies
99caed2737
Set default command
2018-01-10 23:59:58 +00:00
Oliver Davies
fc629ead56
Re-organise classes
2018-01-10 23:59:58 +00:00
Oliver Davies
bc3dae9c48
Start using Symfony Components
2018-01-10 23:59:58 +00:00
Oliver Davies
b61178b9b0
More new lines
2018-01-05 00:55:22 +00:00
Oliver Davies
37835fa7c8
Use implode for entry values
2018-01-05 00:31:59 +00:00
Oliver Davies
f32d4a5139
Add implode method
...
Ensure that imploded values are wrapped with the correct prefix
and suffix, and have the correct separators.
2018-01-05 00:02:14 +00:00
Oliver Davies
6ccf830d23
Add line breaks for better readability
2018-01-04 23:22:23 +00:00
Oliver Davies
671b4b9ae0
Re-add create method
2017-12-30 18:22:12 +00:00
Oliver Davies
afff7a6715
Allow for multiple to values
2017-12-30 18:21:15 +00:00
Oliver Davies
55ba13fdac
Ensure characters are converted
2017-12-30 18:20:26 +00:00
Oliver Davies
761eba6203
Hide filters
2017-12-30 13:42:56 +00:00
Oliver Davies
728d284f09
Add docblocks, small fixes
2017-12-30 10:56:07 +00:00
Oliver Davies
9097da2972
Change to and from to use strings or arrays
2017-12-30 10:49:31 +00:00
Oliver Davies
02dddbdaf6
Finish Builder
2017-12-30 10:40:01 +00:00
77ab5d9f9b
wip
2017-11-04 09:38:14 +00:00
654457beee
Add more conditions
2017-11-04 09:37:25 +00:00
d5d9f72375
Add more methods
2017-11-03 23:48:35 +00:00
0594f9f0de
Refactor, allow chaining methods
2017-11-03 23:48:34 +00:00
792bfda017
Add basic methods
2017-11-03 23:48:19 +00:00
c5b260f298
Initial setup
2017-11-03 11:18:08 +00:00
0b31ff7577
Import Twig classes, update templates path
2016-12-05 01:19:56 +00:00
e0751b7ed6
Rename and re-organise classes, add namespaces
2016-12-05 01:10:21 +00:00
ec88e389cf
Add has method
2016-12-05 00:08:23 +00:00
ff7f7b687d
Use ob_start and ob_get_contents
2016-09-30 12:59:32 +01:00
9a0d4f8a90
Add labelAndArchive method
2016-09-24 19:57:11 +01:00
30d83f7682
Use OR instead of ||
...
Fixes #6
2016-09-22 19:26:10 +01:00
bfc4d44751
Add twig-extensions and use TwigBooleanStringExtension
...
Fixes #3
2016-07-15 02:52:31 +01:00
a5a9d51db8
PSR-2
2016-07-15 01:52:03 +01:00