Invoice   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 49
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 7
lcom 0
cbo 0
dl 0
loc 49
rs 10
c 0
b 0
f 0

7 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A getVatNumber() 0 4 1
A setVatNumber() 0 4 1
A getPath() 0 4 1
A setPath() 0 4 1
A getOrder() 0 4 1
A setOrder() 0 4 1
1
<?php
2
3
/*
4
 * This file has been created by developers from BitBag.
5
 * Feel free to contact us once you face any issues or want to start
6
 * another great project.
7
 * You can find more information about us on https://bitbag.shop and write us
8
 * an email on [email protected].
9
 */
10
11
declare(strict_types=1);
12
13
namespace BitBag\SyliusInvoicingPlugin\Entity;
14
15
use Sylius\Component\Core\Model\OrderInterface;
16
17
class Invoice implements InvoiceInterface
18
{
19
    /** @var int */
20
    protected $id;
21
22
    /** @var string */
23
    protected $vatNumber;
24
25
    /** @var string */
26
    protected $path;
27
28
    /** @var OrderInterface */
29
    protected $order;
30
31
    public function getId(): ?int
32
    {
33
        return $this->id;
34
    }
35
36
    public function getVatNumber(): ?string
37
    {
38
        return $this->vatNumber;
39
    }
40
41
    public function setVatNumber(?string $vatNumber): void
42
    {
43
        $this->vatNumber = $vatNumber;
44
    }
45
46
    public function getPath(): ?string
47
    {
48
        return $this->path;
49
    }
50
51
    public function setPath(?string $path): void
52
    {
53
        $this->path = $path;
54
    }
55
56
    public function getOrder(): OrderInterface
57
    {
58
        return $this->order;
59
    }
60
61
    public function setOrder(?OrderInterface $order): void
62
    {
63
        $this->order = $order;
64
    }
65
}
66