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

Test::getBaz()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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