Completed
Push — master ( 7b9104...2433c1 )
by Tim
02:44
created

CleanupEvent::getFunction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace HDNET\Calendarize\Event;
4
5
final class CleanupEvent
6
{
7
    private $modus;
8
9
    private $repository;
10
11
    private $model;
12
13
    private $function;
14
15
    public function __construct($modus, $repository, $model, $function)
16
    {
17
        $this->modus = $modus;
18
        $this->repository = $repository;
19
        $this->model = $model;
20
        $this->function = $function;
21
    }
22
23
    public function getModus()
24
    {
25
        return $this->modus;
26
    }
27
28
    public function getRepository()
29
    {
30
        return $this->repository;
31
    }
32
33
    public function getModel()
34
    {
35
        return $this->model;
36
    }
37
38
    public function getFunction()
39
    {
40
        return $this->function;
41
    }
42
43
    public function setFunction($function): void
44
    {
45
        $this->function = $function;
46
    }
47
}
48