Completed
Push — master ( 36acf6...c2375b )
by
unknown
13:20
created

SearchElement   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 3
Bugs 1 Features 3
Metric Value
wmc 2
c 3
b 1
f 3
lcom 0
cbo 0
dl 0
loc 21
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getRecordId() 0 4 1
1
<?php
2
3
namespace OroCRM\Bundle\SalesBundle\Tests\Unit\Autocomplete;
4
5
class SearchElement
6
{
7
    /** @var int */
8
    protected $id;
9
10
    /**
11
     * @param int $id
12
     */
13
    public function __construct($id)
14
    {
15
        $this->id = $id;
16
    }
17
18
    /**
19
     * @return int
20
     */
21
    public function getRecordId()
22
    {
23
        return $this->id;
24
    }
25
}
26