The class Symfony\Component\EventDispatcher\Event has been deprecated with message: since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be
removed from the class and what other constant to use instead.
Loading history...
10
{
11
/**
12
* @var Node
13
*/
14
private $node;
15
16
/**
17
* @var Response
18
*/
19
private $response;
20
21
public function __construct(Node $node)
22
{
23
$this->node = $node;
24
}
25
26
public function getNode(): Node
27
{
28
return $this->node;
29
}
30
31
public function setNode(Node $node): self
32
{
33
$this->node = $node;
34
35
return $this;
36
}
37
38
public function getResponse(): Response
39
{
40
return $this->response;
41
}
42
43
public function setResponse(Response $response): self
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.