Passed
Pull Request — master (#131)
by Kevin
02:29
created

Address::setValue()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Zenstruck\Foundry\Tests\Fixtures\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
7
/**
8
 * @ORM\Embeddable
9
 */
10
final class Address
11
{
12
    /**
13
     * @ORM\Column(type="string", nullable=true)
14
     */
15
    private $value;
16
17
    public function getValue()
18
    {
19
        return $this->value;
20
    }
21
22
    public function setValue($value)
23
    {
24
        $this->value = $value;
25
    }
26
}
27