3 namespace Wallabag\CoreBundle\Notifications
;
5 class Action
implements ActionInterface
30 public function getLabel()
36 * @param string $label
38 * @return ActionInterface
40 public function setLabel($label)
42 $this->label
= $label;
50 public function getType()
58 * @return ActionInterface
60 * @throws \InvalidArgumentException
62 public function setType($type)
64 if ($type <= 0 || $type > 4) {
65 throw new \
InvalidArgumentException('The given type option is invalid');
75 public function getLink()
83 * @return ActionInterface
85 public function setLink($link)