DettagliSessioneRequest::getId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace BitPrepared\Bundle\FormazioneBundle\Domain\Service\QueryRequest;
4
5
use BitPrepared\Bundle\FormazioneBundle\Domain\Service\Request;
6
7
/**
8
 * No comment found on ddd model
9
 */
10
final class DettagliSessioneRequest extends Request
11
{
12
    /**
13
     * identificativo univoco della sessione richiesta
14
     *
15
     * @var int
16
     */
17
    private $id;
18
19
    /**
20
     * costruttore
21
     */
22
    final public function __construct($id)
0 ignored issues
show
Coding Style introduced by
Unnecessary FINAL modifier in FINAL class
Loading history...
23
    {
24
        $this->id = $id;
25
    }
26
27
    /**
28
     * @return int
29
     */
30
    final public function getId()
0 ignored issues
show
Coding Style introduced by
Unnecessary FINAL modifier in FINAL class
Loading history...
31
    {
32
        return $this->id;
33
    }
34
}
35