diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-05-15 10:15:39 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-05-25 19:09:52 +0200 |
commit | 4fa9470f36b9dc8b000b06c7742c921a1df71e42 (patch) | |
tree | c317e4c728891574bf8df49a237751bedc4a6d74 /src/Wallabag/CoreBundle/Notifications/YesAction.php | |
parent | 22a4b20ed04a9c709fbbe3e254ad8b2d7757a38b (diff) | |
download | wallabag-4fa9470f36b9dc8b000b06c7742c921a1df71e42.tar.gz wallabag-4fa9470f36b9dc8b000b06c7742c921a1df71e42.tar.zst wallabag-4fa9470f36b9dc8b000b06c7742c921a1df71e42.zip |
changes and default actions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/CoreBundle/Notifications/YesAction.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Notifications/YesAction.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Notifications/YesAction.php b/src/Wallabag/CoreBundle/Notifications/YesAction.php new file mode 100644 index 00000000..340733ff --- /dev/null +++ b/src/Wallabag/CoreBundle/Notifications/YesAction.php | |||
@@ -0,0 +1,13 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Notifications; | ||
4 | |||
5 | class YesAction extends Action { | ||
6 | |||
7 | public function __construct($link) | ||
8 | { | ||
9 | $this->link = $link; | ||
10 | $this->label = 'Yes'; | ||
11 | $this->type = Action::TYPE_YES; | ||
12 | } | ||
13 | } | ||