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

EntityEvent::setFilters()   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 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