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