1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-20 19:07:02 +00:00
wallabag/src/Wallabag/CoreBundle/Event/EntrySavedEvent.php
Jeremy Benoist de5b138a59
Fix CS
2022-12-13 10:26:51 +01:00

26 lines
456 B
PHP

<?php
namespace Wallabag\CoreBundle\Event;
use Symfony\Component\EventDispatcher\Event;
use Wallabag\CoreBundle\Entity\Entry;
/**
* This event is fired as soon as an entry was saved.
*/
class EntrySavedEvent extends Event
{
public const NAME = 'entry.saved';
protected $entry;
public function __construct(Entry $entry)
{
$this->entry = $entry;
}
public function getEntry()
{
return $this->entry;
}
}