3 namespace Wallabag\CoreBundle\Event\Activity\Actions\Federation
;
5 use Symfony\Component\EventDispatcher\Event
;
6 use Wallabag\CoreBundle\Entity\Entry
;
9 * This event is fired as soon as an entry was recommended.
11 class RecommendedEntryEvent
extends Event
13 const NAME
= 'federation.recommend';
18 * FederationEvent constructor.
21 public function __construct(Entry
$entry)
23 $this->entry
= $entry;
29 public function getEntry()
36 * @return RecommendedEntryEvent
38 public function setEntry(Entry
$entry)
40 $this->entry
= $entry;