GuidTrait::setGuid()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 1
dl 0
loc 3
rs 10
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