Completed
Push — master ( 757091...704cf7 )
by Tim
02:40
created

__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
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
    public function __construct(array $indexIds, array $indexTypes)
18
    {
19
        $this->indexIds = $indexIds;
20
        $this->indexTypes = $indexTypes;
21
    }
22
23
    public function getIndexIds(): array
24
    {
25
        return $this->indexIds;
26
    }
27
28
    public function setIndexIds(array $indexIds): void
29
    {
30
        $this->indexIds = $indexIds;
31
    }
32
33
    public function getIndexTypes(): array
34
    {
35
        return $this->indexTypes;
36
    }
37
}
38