3 namespace Wallabag\CoreBundle\Notifications
;
5 class Action
implements ActionInterface
{
30 public function getLabel()
36 * @param string $label
37 * @return ActionInterface
39 public function setLabel($label)
41 $this->label
= $label;
48 public function getType()
55 * @return ActionInterface
56 * @throws \InvalidArgumentException
58 public function setType($type)
60 if ($type <= 0 || $type > 4) {
61 throw new \
InvalidArgumentException('The given type option is invalid');
70 public function getLink()
77 * @return ActionInterface
79 public function setLink($link)