CreatorDataWrapper::getData()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php declare(strict_types = 1);
2
3
namespace Ikoene\MarvelApiBundle\DataWrapper;
4
5
use Ikoene\MarvelApiBundle\DataContainer\CreatorDataContainer;
6
7
/**
8
 * Class CreatorDataWrapper
9
 * @package Ikoene\MarvelApiBundle\DataWrapper
10
 */
11
class CreatorDataWrapper extends AbstractDataWrapper
12
{
13
    /**
14
     * The results returned by the call.
15
     *
16
     * @var mixed
17
     */
18
    private $data;
19
20
    /**
21
     * @return CreatorDataContainer
22
     */
23
    public function getData()
24
    {
25
        return $this->data;
26
    }
27
28
    /**
29
     * @param CreatorDataContainer $data
30
     */
31
    public function setData(CreatorDataContainer $data)
32
    {
33
        $this->data = $data;
34
    }
35
}
36