SkuskuCartProduct   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 17
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
1
<?php
2
3
namespace GGGGino\SkuskuCartBundle\Model;
4
5
use Doctrine\Common\Collections\ArrayCollection;
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * SkuskuCartProduct
10
 *
11
 * @ORM\Table(name="skusku_cart_product")
12
 * @ORM\Entity()
13
 */
14
class SkuskuCartProduct extends SkuskuCartProductBase
15
{
16
    /**
17
     * @var int
18
     *
19
     * @ORM\Column(name="id", type="integer")
20
     * @ORM\Id
21
     * @ORM\GeneratedValue(strategy="AUTO")
22
     */
23
    private $id;
24
25
    /**
26
     * @return int
27
     */
28
    public function getId()
29
    {
30
        return $this->id;
31
    }
32
}
33