EventSummary   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getResourceURI() 0 4 1
A setResourceURI() 0 4 1
A getName() 0 4 1
A setName() 0 4 1
1
<?php declare(strict_types = 1);
2
3
namespace ikoene\Marvel\Entity;
4
5
/**
6
 * Class EventSummary
7
 * @package ikoene\Marvel\Entity
8
 */
9
class EventSummary
10
{
11
    /**
12
     * The path to the individual event resource.
13
     *
14
     * @var string
15
     */
16
    private $resourceURI;
17
18
    /**
19
     * The name of the event.
20
     *
21
     * @var string
22
     */
23
    private $name;
24
25
    /**
26
     * @return string
27
     */
28
    public function getResourceURI()
29
    {
30
        return $this->resourceURI;
31
    }
32
33
    /**
34
     * @param string $resourceURI
35
     */
36
    public function setResourceURI(string $resourceURI)
37
    {
38
        $this->resourceURI = $resourceURI;
39
    }
40
41
    /**
42
     * @return string
43
     */
44
    public function getName()
45
    {
46
        return $this->name;
47
    }
48
49
    /**
50
     * @param string $name
51
     */
52
    public function setName(string $name)
53
    {
54
        $this->name = $name;
55
    }
56
}
57