DettagliSessioneRequest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getId() 0 4 1
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