Test Failed
Push — master ( 7cde39...b3d10e )
by Mauro
05:55
created

Photo::getAlbumId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * This file is part of the DbImporter package.
4
 *
5
 * (c) Mauro Cassani<https://github.com/mauretto78>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace DbImporter\Tests\Entity;
12
13
final class Photo
14
{
15
    /**
16
     * @var int
17
     */
18
    private $id;
19
20
    /**
21
     * @var int
22
     */
23
    private $albumId;
24
25
    /**
26
     * @var string
27
     */
28
    private $title;
29
30
    /**
31
     * @var string
32
     */
33
    private $url;
34
35
    /**
36
     * @var string
37
     */
38
    private $thumbnailUrl;
39
40
    /**
41
     * User constructor.
42
     * @param $id
43
     * @param $albumId
44
     * @param $title
45
     * @param $url
46
     * @param $thumbnailUrl
47
     */
48
    public function __construct(
49
        $id,
50
        $albumId,
51
        $title,
52
        $url,
53
        $thumbnailUrl
54
    ) {
55
        $this->id = $id;
56
        $this->albumId = $albumId;
57
        $this->title = $title;
58
        $this->url = $url;
59
        $this->thumbnailUrl = $thumbnailUrl;
60
    }
61
62
    /**
63
     * @return int
64
     */
65
    public function getId()
66
    {
67
        return $this->id;
68
    }
69
70
    /**
71
     * @return int
72
     */
73
    public function getAlbumId()
74
    {
75
        return $this->albumId;
76
    }
77
78
    /**
79
     * @return string
80
     */
81
    public function getTitle()
82
    {
83
        return $this->title;
84
    }
85
86
    /**
87
     * @return string
88
     */
89
    public function getUrl()
90
    {
91
        return $this->url;
92
    }
93
94
    /**
95
     * @return string
96
     */
97
    public function getThumbnailUrl()
98
    {
99
        return $this->thumbnailUrl;
100
    }
101
}
102