GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

ProjectFileDTO   A
last analyzed

Complexity

Total Complexity 10

Size/Duplication

Total Lines 137
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 10
lcom 0
cbo 0
dl 0
loc 137
rs 10
c 0
b 0
f 0

10 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 6 1
A getName() 0 4 1
A setName() 0 6 1
A getHashFile() 0 4 1
A setHashFile() 0 6 1
A getUpdatedAt() 0 4 1
A setUpdatedAt() 0 6 1
A getLocaleCode() 0 4 1
A setLocaleCode() 0 6 1
1
<?php
2
3
namespace Ozean12\WebTranslateItBundle\DTO;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
/**
8
 * Class ProjectFileDTO.
9
 */
10
class ProjectFileDTO
11
{
12
    /**
13
     * @var int
14
     *
15
     * @Serializer\Type("integer")
16
     */
17
    private $id;
18
19
    /**
20
     * @var string
21
     *
22
     * @Serializer\Type("string")
23
     */
24
    private $name;
25
26
    /**
27
     * @var string
28
     *
29
     * @Serializer\Type("string")
30
     */
31
    private $hashFile;
32
33
    /**
34
     * @var \DateTime
35
     *
36
     * @Serializer\Type("DateTime")
37
     */
38
    private $updatedAt;
39
40
    /**
41
     * @var string
42
     *
43
     * @Serializer\Type("string")
44
     */
45
    private $localeCode;
46
47
    /**
48
     * @return int
49
     */
50
    public function getId()
51
    {
52
        return $this->id;
53
    }
54
55
    /**
56
     * @param int $id
57
     *
58
     * @return ProjectFileDTO
59
     */
60
    public function setId($id)
61
    {
62
        $this->id = $id;
63
64
        return $this;
65
    }
66
67
    /**
68
     * @return string
69
     */
70
    public function getName()
71
    {
72
        return $this->name;
73
    }
74
75
    /**
76
     * @param string $name
77
     *
78
     * @return ProjectFileDTO
79
     */
80
    public function setName($name)
81
    {
82
        $this->name = $name;
83
84
        return $this;
85
    }
86
87
    /**
88
     * @return string
89
     */
90
    public function getHashFile()
91
    {
92
        return $this->hashFile;
93
    }
94
95
    /**
96
     * @param string $hashFile
97
     *
98
     * @return ProjectFileDTO
99
     */
100
    public function setHashFile($hashFile)
101
    {
102
        $this->hashFile = $hashFile;
103
104
        return $this;
105
    }
106
107
    /**
108
     * @return \DateTime
109
     */
110
    public function getUpdatedAt()
111
    {
112
        return $this->updatedAt;
113
    }
114
115
    /**
116
     * @param \DateTime $updatedAt
117
     *
118
     * @return ProjectFileDTO
119
     */
120
    public function setUpdatedAt($updatedAt)
121
    {
122
        $this->updatedAt = $updatedAt;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @return string
129
     */
130
    public function getLocaleCode()
131
    {
132
        return $this->localeCode;
133
    }
134
135
    /**
136
     * @param string $localeCode
137
     *
138
     * @return ProjectFileDTO
139
     */
140
    public function setLocaleCode($localeCode)
141
    {
142
        $this->localeCode = $localeCode;
143
144
        return $this;
145
    }
146
}
147