diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2019-06-23 22:13:06 +0200 |
---|---|---|
committer | Kevin Decherf <kevin@kdecherf.com> | 2020-04-25 15:59:23 +0200 |
commit | c675bd11c66e60a1976dfd66484448dcc9d80f0f (patch) | |
tree | 609a1b8d355365ccf83b70bf5df6b140bb86e196 /src/Wallabag/CoreBundle/Entity/IgnoreOriginRuleInterface.php | |
parent | 8a8a78a64c116caf81aaa4339906298bdc0e32e0 (diff) | |
download | wallabag-c675bd11c66e60a1976dfd66484448dcc9d80f0f.tar.gz wallabag-c675bd11c66e60a1976dfd66484448dcc9d80f0f.tar.zst wallabag-c675bd11c66e60a1976dfd66484448dcc9d80f0f.zip |
Add IgnoreOriginRule-related entities, db migration, update config
Add IgnoreOriginUserRule for user-defined rules and
IgnoreOriginInstanceRule for system-wide rules. Add an interface for
these two new entities.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/IgnoreOriginRuleInterface.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/IgnoreOriginRuleInterface.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/IgnoreOriginRuleInterface.php b/src/Wallabag/CoreBundle/Entity/IgnoreOriginRuleInterface.php new file mode 100644 index 00000000..eb865a3a --- /dev/null +++ b/src/Wallabag/CoreBundle/Entity/IgnoreOriginRuleInterface.php | |||
@@ -0,0 +1,12 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Entity; | ||
4 | |||
5 | interface IgnoreOriginRuleInterface | ||
6 | { | ||
7 | public function getId(); | ||
8 | |||
9 | public function setRule(string $rule); | ||
10 | |||
11 | public function getRule(); | ||
12 | } | ||