Completed
Pull Request — master (#53)
by Julien
02:22
created

HalCollection   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getLinks() 0 4 1
A getEmbedded() 0 4 1
1
<?php
2
3
namespace Mapado\RestClientSdk\Collection;
4
5
/**
6
 * Class HalCollection
7
 * @author Julien Deniau <[email protected]>
8
 */
9
class HalCollection extends Collection
10
{
11
    public function getLinks()
12
    {
13
        return $this->getExtraProperty('_links');
14
    }
15
16
    public function getEmbedded()
17
    {
18
        return $this->getExtraProperty('_embedded');
19
    }
20
}
21