blob: 0022a39f1e7407392e0aaa3557e5d48b2c78a421 (
plain) (
tree)
|
|
<?php
namespace Wallabag\CoreBundle\Event\Activity\Actions\Share;
use Symfony\Component\EventDispatcher\Event;
use Wallabag\CoreBundle\Entity\Share;
/**
* This event is fired when share-related stuff is made.
*/
abstract class ShareEvent extends Event
{
protected $share;
/**
* ShareEvent constructor.
* @param Share $share
*/
public function __construct(Share $share)
{
$this->share = $share;
}
/**
* @return Share
*/
public function getShare()
{
return $this->share;
}
/**
* @param Share $share
*/
public function setShare(Share $share)
{
$this->share = $share;
}
}
|