GuidTrait   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 4
c 1
b 0
f 1
dl 0
loc 23
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setGuid() 0 3 1
A getGuid() 0 3 1
1
<?php
2
3
namespace PiouPiou\RibsAdminBundle\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
trait GuidTrait
8
{
9
    /**
10
     * @var string
11
     *
12
     * @ORM\Column(name="guid", type="string", length=255, nullable=true)
13
     */
14
    private $guid;
15
16
    /**
17
     * @return string
18
     */
19
    public function getGuid()
20
    {
21
        return $this->guid;
22
    }
23
24
    /**
25
     * @param string $guid
26
     */
27
    public function setGuid($guid)
28
    {
29
        $this->guid = $guid;
30
    }
31
}
32