These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Kunstmaan\NodeBundle\Event; |
||
4 | |||
5 | use Kunstmaan\NodeBundle\Entity\Node; |
||
6 | use Symfony\Component\EventDispatcher\Event; |
||
7 | use Symfony\Component\HttpFoundation\Response; |
||
8 | |||
9 | final class NodeDuplicateEvent extends Event |
||
0 ignored issues
–
show
|
|||
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 |
||
44 | { |
||
45 | $this->response = $response; |
||
46 | |||
47 | return $this; |
||
48 | } |
||
49 | } |
||
50 |
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.