diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-05-12 15:02:32 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-05-25 19:09:52 +0200 |
commit | 22a4b20ed04a9c709fbbe3e254ad8b2d7757a38b (patch) | |
tree | 221d5cbf49107a83f223dae6afd8db8fab6ede1f /src/Wallabag/CoreBundle/Notifications/ActionInterface.php | |
parent | 35941d57ee4d06ec3557d4b126d5f6fd263bcf3a (diff) | |
download | wallabag-22a4b20ed04a9c709fbbe3e254ad8b2d7757a38b.tar.gz wallabag-22a4b20ed04a9c709fbbe3e254ad8b2d7757a38b.tar.zst wallabag-22a4b20ed04a9c709fbbe3e254ad8b2d7757a38b.zip |
First draft for notifications
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/CoreBundle/Notifications/ActionInterface.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Notifications/ActionInterface.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Notifications/ActionInterface.php b/src/Wallabag/CoreBundle/Notifications/ActionInterface.php new file mode 100644 index 00000000..0b40237d --- /dev/null +++ b/src/Wallabag/CoreBundle/Notifications/ActionInterface.php | |||
@@ -0,0 +1,41 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Notifications; | ||
4 | |||
5 | interface ActionInterface { | ||
6 | |||
7 | /** | ||
8 | * @return string | ||
9 | */ | ||
10 | public function getLabel(); | ||
11 | |||
12 | /** | ||
13 | * @param string $label | ||
14 | * @return ActionInterface | ||
15 | */ | ||
16 | public function setLabel($label); | ||
17 | |||
18 | /** | ||
19 | * @return int | ||
20 | */ | ||
21 | public function getType(); | ||
22 | |||
23 | /** | ||
24 | * @param int $type | ||
25 | * @return ActionInterface | ||
26 | */ | ||
27 | public function setType($type); | ||
28 | |||
29 | /** | ||
30 | * @return string | ||
31 | */ | ||
32 | public function getLink(); | ||
33 | |||
34 | /** | ||
35 | * @param string $link | ||
36 | * @return ActionInterface | ||
37 | */ | ||
38 | public function setLink($link); | ||
39 | |||
40 | |||
41 | } | ||