The class Symfony\Component\EventDispatcher\Event has been deprecated: since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
8
class SubscriptionEvent extends /** @scrutinizer ignore-deprecated */ Event
Loading history...
9
{
10
/**
11
* @var SubscriptionInterface
12
*/
13
private $subscription;
14
15
/**
16
* @var bool
17
*/
18
private $fromRenew;
19
20
/**
21
* Constructor.
22
*
23
* @param SubscriptionInterface $subscription
24
* @param boolean $fromRenew
25
*/
26
9
public function __construct(SubscriptionInterface $subscription, $fromRenew = false)