3 namespace Wallabag\CoreBundle\Event
;
5 use Symfony\Component\EventDispatcher\Event
;
6 use Wallabag\CoreBundle\Entity\Entry
;
7 use Wallabag\CoreBundle\Entity\Tag
;
10 * This event is fired as soon as a tag is added on an entry.
12 class EntryTaggedEvent
extends Event
14 const NAME
= 'entry.tagged';
22 public function __construct(Entry
$entry, $tags)
24 $this->entry
= $entry;
26 if (false === is_array($tags)) {
33 public function getEntry()
38 public function getTags()