1 | <?php |
||
20 | class Photo extends AbstractMedia { |
||
21 | |||
22 | /** |
||
23 | * Photographer. |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | private $photographer; |
||
28 | |||
29 | /** |
||
30 | * Photographer id. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | private $photographerId; |
||
35 | |||
36 | /** |
||
37 | * Photographer URL. |
||
38 | * |
||
39 | * @var string |
||
40 | */ |
||
41 | private $photographerUrl; |
||
42 | |||
43 | /** |
||
44 | * Source. |
||
45 | * |
||
46 | * @var Source |
||
47 | */ |
||
48 | private $src; |
||
49 | |||
50 | /** |
||
51 | * Get the photographer. |
||
52 | * |
||
53 | * @return string Returns the photographer. |
||
54 | */ |
||
55 | public function getPhotographer() { |
||
56 | return $this->photographer; |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * Get the photographer id. |
||
61 | * |
||
62 | * @return string Returns the photographer id. |
||
63 | */ |
||
64 | public function getPhotographerId() { |
||
65 | return $this->photographerId; |
||
66 | } |
||
67 | |||
68 | /** |
||
69 | * Get the photographer URL. |
||
70 | * |
||
71 | * @return string Returns the photographer URL. |
||
72 | */ |
||
73 | public function getPhotographerUrl() { |
||
74 | return $this->photographerUrl; |
||
75 | } |
||
76 | |||
77 | /** |
||
78 | * Get the source. |
||
79 | * |
||
80 | * @return Source Returns the source. |
||
81 | */ |
||
82 | public function getSrc() { |
||
83 | return $this->src; |
||
84 | } |
||
85 | |||
86 | /** |
||
87 | * Set the photographer. |
||
88 | * |
||
89 | * @param string $photographer The photographer. |
||
90 | * @return Photo Returns this photo. |
||
91 | */ |
||
92 | public function setPhotographer($photographer) { |
||
93 | $this->photographer = $photographer; |
||
94 | return $this; |
||
95 | } |
||
96 | |||
97 | /** |
||
98 | * Set the photographer id. |
||
99 | * |
||
100 | * @param string $photographerId The photographer id. |
||
101 | * @return Photo Returns this photo. |
||
102 | */ |
||
103 | public function setPhotographerId($photographerId) { |
||
104 | $this->photographerId = $photographerId; |
||
105 | return $this; |
||
106 | } |
||
107 | |||
108 | /** |
||
109 | * Set the photographer URL. |
||
110 | * |
||
111 | * @param string $photographerUrl The photographer URL. |
||
112 | * @return Photo Returns this photo. |
||
113 | */ |
||
114 | public function setPhotographerUrl($photographerUrl) { |
||
115 | $this->photographerUrl = $photographerUrl; |
||
116 | return $this; |
||
117 | } |
||
118 | |||
119 | /** |
||
120 | * Set the source. |
||
121 | * |
||
122 | * @param Source|null $src The source. |
||
123 | * @return Photo Returns this photo. |
||
124 | */ |
||
125 | public function setSrc(Source $src = null) { |
||
129 | |||
130 | } |
||
131 |