Completed
Push — master ( f81cf6...7fbbb0 )
by Oleg
03:40
created

Test   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 36
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 36
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getBar() 0 3 1
A getBaz() 0 3 1
A setBaz() 0 3 1
1
<?php
2
declare(strict_types=1);
3
4
namespace SlayerBirden\DFCodeGeneration\Catalog\Entities;
5
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * @ORM\Entity
10
 * @ORM\Table(name="stock")
11
 **/
12
class Test
13
{
14
    /**
15
     * @ORM\Id
16
     * @ORM\Column(type="string")
17
     * @var string
18
     **/
19
    private $bar;
20
    /**
21
     * @ORM\Column(type="string")
22
     * @var string
23
     **/
24
    private $baz;
25
26
    /**
27
     * @return string
28
     */
29
    public function getBar(): string
30
    {
31
        return $this->bar;
32
    }
33
34
    /**
35
     * @return string
36
     */
37
    public function getBaz(): string
38
    {
39
        return $this->baz;
40
    }
41
42
    /**
43
     * @param string $baz
44
     */
45
    public function setBaz(string $baz): void
46
    {
47
        $this->baz = $baz;
48
    }
49
}
50