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
13
class Event extends /** @scrutinizer ignore-deprecated */ BaseEvent
Loading history...
14
{
15
/**
16
* @var StatefulInterface
17
*/
18
protected $stateful;
19
20
/**
21
* @var array
22
*/
23
protected $parameters;
24
25
/**
26
* Event constructor.
27
*
28
* @param StatefulInterface $stateful
29
* @param array $parameters
30
*/
31
2
public function __construct(StatefulInterface $stateful, array $parameters = [])