-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPhotoItem.php
65 lines (52 loc) · 1.09 KB
/
PhotoItem.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
namespace DG\API\Photo;
class PhotoItem
{
protected $_id;
protected $_hash;
protected $_uid;
protected $_filePath;
protected $_options = [];
protected $_data = [];
public function __construct($uid, $filePath, array $options = [])
{
$this->_uid = $uid;
$this->_filePath = $filePath;
$this->_options = $options;
}
public function getUID()
{
return $this->_uid;
}
public function getOptions()
{
return $this->_options;
}
public function setId($id)
{
$this->_id = $id;
return $this;
}
public function setHash($hash)
{
$this->_hash = $hash;
return $this;
}
public function setData($data)
{
$this->_data = $data;
return $this;
}
public function getId()
{
return $this->_id;
}
public function getHash()
{
return $this->_hash;
}
public function getFilePath()
{
return $this->_filePath;
}
}