]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Event/EntryDeletedEvent.php
fixup! fixup! Fix documentation wording for matches/notmatches tagging rules
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Event / EntryDeletedEvent.php
1 <?php
2
3 namespace Wallabag\CoreBundle\Event;
4
5 use Symfony\Component\EventDispatcher\Event;
6 use Wallabag\CoreBundle\Entity\Entry;
7
8 /**
9 * This event is fired as soon as an entry is deleted.
10 */
11 class EntryDeletedEvent extends Event
12 {
13 const NAME = 'entry.deleted';
14
15 protected $entry;
16
17 public function __construct(Entry $entry)
18 {
19 $this->entry = $entry;
20 }
21
22 public function getEntry()
23 {
24 return $this->entry;
25 }
26 }