blob: 0022a39f1e7407392e0aaa3557e5d48b2c78a421 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<?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;
}
}
|