Completed
Push — master ( 1dbefb...c77374 )
by Jeroen
32s queued 11s
created

Kunstmaan/NodeBundle/Event/SlugSecurityEvent.php (1 issue)

Severity

Upgrade to new PHP Analysis Engine

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 Symfony\Component\EventDispatcher\Event;
6
7
/**
8
 * Class SlugSecurityEvent
9
 */
10
final class SlugSecurityEvent extends Event
0 ignored issues
show
Deprecated Code introduced by
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...
11
{
12
    private $node;
13
14
    private $nodeTranslation;
15
16
    private $entity;
17
18
    private $request;
19
20
    /**
21
     * @return mixed
22
     */
23 1
    public function getNode()
24
    {
25 1
        return $this->node;
26
    }
27
28
    /**
29
     * @param mixed $node
30
     */
31 1
    public function setNode($node)
32
    {
33 1
        $this->node = $node;
34
35 1
        return $this;
36
    }
37
38
    /**
39
     * @return mixed
40
     */
41 1
    public function getNodeTranslation()
42
    {
43 1
        return $this->nodeTranslation;
44
    }
45
46
    /**
47
     * @param mixed $nodeTranslation
48
     */
49 1
    public function setNodeTranslation($nodeTranslation)
50
    {
51 1
        $this->nodeTranslation = $nodeTranslation;
52
53 1
        return $this;
54
    }
55
56
    /**
57
     * @return mixed
58
     */
59 1
    public function getEntity()
60
    {
61 1
        return $this->entity;
62
    }
63
64
    /**
65
     * @param mixed $entity
66
     */
67 1
    public function setEntity($entity)
68
    {
69 1
        $this->entity = $entity;
70
71 1
        return $this;
72
    }
73
74
    /**
75
     * @return mixed
76
     */
77 1
    public function getRequest()
78
    {
79 1
        return $this->request;
80
    }
81
82
    /**
83
     * @param mixed $request
84
     */
85 1
    public function setRequest($request)
86
    {
87 1
        $this->request = $request;
88
89 1
        return $this;
90
    }
91
}
92