Passed
Push — master ( 5bd4e8...a1df2d )
by vincent
40s
created

People   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 45
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 7
lcom 0
cbo 1
dl 0
loc 45
ccs 0
cts 22
cp 0
rs 10
c 0
b 0
f 0

7 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getId() 0 4 1
A getAdult() 0 4 1
A getKnownFor() 0 4 1
A getName() 0 4 1
A getPopularity() 0 4 1
A getProfilePath() 0 4 1
1
<?php
2
3
namespace vfalies\tmdb\Results;
4
5
use vfalies\tmdb\Abstracts\Results;
6
use vfalies\tmdb\Tmdb;
7
use vfalies\tmdb\Interfaces\Results\PeopleResultsInterface;
8
9
class People extends Results implements PeopleResultsInterface
10
{
11
12
    /**
13
     * Constructor
14
     * @param \vfalies\tmdb\Tmdb $tmdb
15
     * @param \stdClass $result
16
     * @throws \Exception
17
     */
18
    public function __construct(Tmdb $tmdb, \stdClass $result)
19
    {
20
        parent::__construct($tmdb, $result);
21
    }
22
23
    public function getId()
24
    {
25
26
    }
27
28
    public function getAdult()
29
    {
30
31
    }
32
33
    public function getKnownFor()
34
    {
35
36
    }
37
38
    public function getName()
39
    {
40
41
    }
42
43
    public function getPopularity()
44
    {
45
46
    }
47
48
    public function getProfilePath()
49
    {
50
51
    }
52
53
}
54