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

EntityFixture   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 17
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getId() 0 4 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