AutoIncrements   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getAutoIncrementId() 0 4 1
1
<?php namespace Nord\Lumen\Doctrine\ORM\Traits;
2
3
use Doctrine\ORM\Mapping as ORM;
4
5
trait AutoIncrements
6
{
7
8
    /**
9
     * @ORM\Id
10
     * @ORM\GeneratedValue
11
     * @ORM\Column(type="integer", name="id")
12
     *
13
     * @var int
14
     */
15
    private $autoIncrementId;
16
17
    /**
18
     * @return int
19
     */
20
    public function getAutoIncrementId()
21
    {
22
        return $this->autoIncrementId;
23
    }
24
}
25