Completed
Push — master ( a9a357...5d1efe )
by Tim
02:14
created

IndexRepositoryDefaultConstraintEvent   A

Complexity

Total Complexity 5

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 5
lcom 0
cbo 0
dl 0
loc 44
rs 10
c 0
b 0
f 0

5 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getIndexIds() 0 4 1
A setIndexIds() 0 4 1
A getIndexTypes() 0 4 1
A getAdditionalSlotArguments() 0 4 1
1
<?php
2
3
namespace HDNET\Calendarize\Event;
4
5
final class IndexRepositoryDefaultConstraintEvent
6
{
7
    /**
8
     * @var array
9
     */
10
    private $indexIds;
11
12
    /**
13
     * @var array
14
     */
15
    private $indexTypes;
16
17
    /**
18
     * @var array
19
     */
20
    private $additionalSlotArguments;
21
22
    public function __construct(array $indexIds, array $indexTypes, array $additionalSlotArguments)
23
    {
24
        $this->indexIds = $indexIds;
25
        $this->indexTypes = $indexTypes;
26
        $this->additionalSlotArguments = $additionalSlotArguments;
27
    }
28
29
    public function getIndexIds(): array
30
    {
31
        return $this->indexIds;
32
    }
33
34
    public function setIndexIds(array $indexIds): void
35
    {
36
        $this->indexIds = $indexIds;
37
    }
38
39
    public function getIndexTypes(): array
40
    {
41
        return $this->indexTypes;
42
    }
43
44
    public function getAdditionalSlotArguments(): array
45
    {
46
        return $this->additionalSlotArguments;
47
    }
48
}
49