Completed
Push — refonte ( 2c2b90...4dd7b9 )
by Arnaud
05:33 queued 02:54
created

EntityEvent   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 44
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getEntities() 0 4 1
A setEntities() 0 4 1
A getFilters() 0 4 1
A setFilters() 0 4 1
1
<?php
2
3
namespace LAG\AdminBundle\Event\Events;
4
5
use LAG\AdminBundle\Event\AbstractEvent;
6
7
class EntityEvent extends AbstractEvent
8
{
9
    /**
10
     * @var mixed
11
     */
12
    private $entities;
13
14
    /**
15
     * @var array
16
     */
17
    private $filters = [];
18
19
    /**
20
     * @return mixed
21
     */
22
    public function getEntities()
23
    {
24
        return $this->entities;
25
    }
26
27
    /**
28
     * @param mixed $entities
29
     */
30
    public function setEntities($entities)
31
    {
32
        $this->entities = $entities;
33
    }
34
35
    /**
36
     * @return array
37
     */
38
    public function getFilters(): array
39
    {
40
        return $this->filters;
41
    }
42
43
    /**
44
     * @param array $filters
45
     */
46
    public function setFilters(array $filters)
47
    {
48
        $this->filters = $filters;
49
    }
50
}
51