Passed
Push — develop ( 4a5a66...90be87 )
by BENARD
04:36
created

getNbChartProvenWithoutDlc()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace VideoGamesRecords\CoreBundle\Traits\Entity;
4
5
trait NbChartProvenWithoutDlcTrait
6
{
7
    /**
8
     * @ORM\Column(name="nbChartProvenWithoutDlc", type="integer", nullable=false, options={"default":0})
9
     */
10
    private int $nbChartProvenWithoutDlc = 0;
11
12
    /**
13
     * Set nbChartProvenWithoutDlc
14
     * @param integer $nbChartProvenWithoutDlc
15
     * @return $this
16
     */
17
    public function setNbChartProvenWithoutDlc(int $nbChartProvenWithoutDlc): static
18
    {
19
        $this->nbChartProvenWithoutDlc = $nbChartProvenWithoutDlc;
20
        return $this;
21
    }
22
23
    /**
24
     * Get nbChartProvenWithoutDlc
25
     *
26
     * @return integer
27
     */
28
    public function getNbChartProvenWithoutDlc(): int
29
    {
30
        return $this->nbChartProvenWithoutDlc;
31
    }
32
}
33