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
9
final class ExecutorContextEvent extends /** @scrutinizer ignore-deprecated */ \Symfony\Component\EventDispatcher\Event
Loading history...
10
{
11
/** @var \ArrayObject */
12
private $executorContext;
13
14
/**
15
* @param \ArrayObject $executorContext
16
*/
17
public function __construct(\ArrayObject $executorContext)
18
{
19
$this->executorContext = $executorContext;
20
}
21
22
/**
23
* @return \ArrayObject
24
*/
25
public function getExecutorContext()
26
{
27
return $this->executorContext;
28
}
29
}
30
} else {
31
final class ExecutorContextEvent extends Event
32
{
33
/** @var \ArrayObject */
34
private $executorContext;
35
36
/**
37
* @param \ArrayObject $executorContext
38
*/
39
86
public function __construct(\ArrayObject $executorContext)