ReportConfigurationTransport::setConfiguration()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Setono\SyliusStockMovementPlugin\Model;
6
7
class ReportConfigurationTransport implements ReportConfigurationTransportInterface
8
{
9
    /** @var int */
10
    protected $id;
11
12
    /** @var string|null */
13
    protected $type;
14
15
    /** @var array */
16
    protected $configuration = [];
17
18
    /** @var ReportConfigurationInterface|null */
19
    protected $reportConfiguration;
20
21
    public function getId(): ?int
22
    {
23
        return $this->id;
24
    }
25
26
    public function getType(): ?string
27
    {
28
        return $this->type;
29
    }
30
31
    public function setType(?string $type): void
32
    {
33
        $this->type = $type;
34
    }
35
36
    public function getConfiguration(): array
37
    {
38
        return $this->configuration;
39
    }
40
41
    public function setConfiguration(array $configuration): void
42
    {
43
        $this->configuration = $configuration;
44
    }
45
46
    public function getReportConfiguration(): ?ReportConfigurationInterface
47
    {
48
        return $this->reportConfiguration;
49
    }
50
51
    public function setReportConfiguration(?ReportConfigurationInterface $reportConfiguration): void
52
    {
53
        $this->reportConfiguration = $reportConfiguration;
54
    }
55
}
56