EventDataWrapper   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 25
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getData() 0 4 1
A setData() 0 4 1
1
<?php declare(strict_types = 1);
2
3
namespace ikoene\Marvel\DataWrapper;
4
5
use ikoene\Marvel\DataContainer\EventDataContainer;
6
7
/**
8
 * Class EventDataWrapper
9
 * @package ikoene\Marvel\DataWrapper
10
 */
11
class EventDataWrapper extends AbstractDataWrapper
12
{
13
    /**
14
     * The results returned by the call.
15
     *
16
     * @var mixed
17
     */
18
    private $data;
19
20
    /**
21
     * @return EventDataContainer
22
     */
23
    public function getData()
24
    {
25
        return $this->data;
26
    }
27
28
    /**
29
     * @param EventDataContainer $data
30
     */
31
    public function setData(EventDataContainer $data)
32
    {
33
        $this->data = $data;
34
    }
35
}
36