Completed
Push — refonte ( 225502...fa24e9 )
by Arnaud
01:45
created

EntityFixture::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace LAG\AdminBundle\Tests\Fixtures;
4
5
class EntityFixture
6
{
7
    protected $id;
8
9
    public function __construct(string $id = null)
10
    {
11
        $this->id = $id;
12
    }
13
14
    /**
15
     * @return string
16
     */
17
    public function getId(): string
18
    {
19
        return $this->id;
20
    }
21
}
22