1 | <?php |
||
8 | class FeaturedStream |
||
9 | { |
||
10 | /** |
||
11 | * @var bool |
||
12 | */ |
||
13 | protected $sponsored; |
||
14 | |||
15 | /** |
||
16 | * @var bool |
||
17 | */ |
||
18 | protected $scheduled; |
||
19 | |||
20 | /** |
||
21 | * @var bool |
||
22 | */ |
||
23 | protected $priority; |
||
24 | |||
25 | /** |
||
26 | * @var Stream; |
||
27 | */ |
||
28 | protected $stream; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $image; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $title; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | protected $text; |
||
44 | |||
45 | /** |
||
46 | * @return boolean |
||
47 | */ |
||
48 | public function isSponsored() |
||
52 | |||
53 | /** |
||
54 | * @param boolean $sponsored |
||
55 | */ |
||
56 | public function setSponsored($sponsored) |
||
60 | |||
61 | /** |
||
62 | * @return boolean |
||
63 | */ |
||
64 | public function isScheduled() |
||
68 | |||
69 | /** |
||
70 | * @param boolean $scheduled |
||
71 | */ |
||
72 | public function setScheduled($scheduled) |
||
76 | |||
77 | /** |
||
78 | * @return boolean |
||
79 | */ |
||
80 | public function isPriority() |
||
84 | |||
85 | /** |
||
86 | * @param boolean $priority |
||
87 | */ |
||
88 | public function setPriority($priority) |
||
92 | |||
93 | /** |
||
94 | * @return Stream |
||
95 | */ |
||
96 | public function getStream() |
||
100 | |||
101 | /** |
||
102 | * @param Stream $stream |
||
103 | */ |
||
104 | public function setStream($stream) |
||
108 | |||
109 | /** |
||
110 | * @return string |
||
111 | */ |
||
112 | public function getImage() |
||
116 | |||
117 | /** |
||
118 | * @param string $image |
||
119 | */ |
||
120 | public function setImage($image) |
||
124 | |||
125 | /** |
||
126 | * @return string |
||
127 | */ |
||
128 | public function getTitle() |
||
132 | |||
133 | /** |
||
134 | * @param string $title |
||
135 | */ |
||
136 | public function setTitle($title) |
||
140 | |||
141 | /** |
||
142 | * @return string |
||
143 | */ |
||
144 | public function getText() |
||
148 | |||
149 | /** |
||
150 | * @param string $text |
||
151 | */ |
||
152 | public function setText($text) |
||
156 | } |