Completed
Push — master ( 0abfbf...a9a357 )
by Tim
02:14
created

DetermineSearchEvent   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getVariables() 0 4 1
A getSettings() 0 4 1
A setVariables() 0 4 1
1
<?php
2
3
namespace HDNET\Calendarize\Event;
4
5
final class DetermineSearchEvent
6
{
7
    private $variables = [];
8
9
    private $settings = [];
10
11
    public function __construct(array $variables, array $settings)
12
    {
13
        $this->variables = $variables;
14
        $this->settings = $settings;
15
    }
16
17
    public function getVariables(): array
18
    {
19
        return $this->variables;
20
    }
21
22
    public function getSettings(): array
23
    {
24
        return $this->settings;
25
    }
26
27
    public function setVariables(array $variables): void
28
    {
29
        $this->variables = $variables;
30
    }
31
}
32