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

IndexRepositoryDefaultConstraintEvent   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 33
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 33
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getIndexIds() 0 4 1
A setIndexIds() 0 4 1
A getIndexTypes() 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
    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