1 | <?php |
||
12 | class AggregateRating extends Rating |
||
13 | { |
||
14 | /** |
||
15 | * @inheritdoc |
||
16 | */ |
||
17 | public function typeDefintion() |
||
21 | |||
22 | private $_itemReviewed; |
||
23 | |||
24 | /** |
||
25 | * Set item reviewed |
||
26 | * |
||
27 | * @param ThingInterface $thing |
||
28 | * @return static |
||
29 | */ |
||
30 | public function setItemReviewed(ThingInterface $thing) |
||
35 | |||
36 | /** |
||
37 | * Getter item reviewed |
||
38 | * |
||
39 | * @return ThingInterface |
||
40 | */ |
||
41 | public function getItemReviewed() |
||
45 | |||
46 | private $_ratingCount; |
||
47 | |||
48 | /** |
||
49 | * Set rating count |
||
50 | * |
||
51 | * @param integer $ratingCount |
||
52 | * @return static |
||
53 | */ |
||
54 | public function setRatingCount($ratingCount) |
||
59 | |||
60 | /** |
||
61 | * Get Rating count |
||
62 | * |
||
63 | * @return integer |
||
64 | */ |
||
65 | public function getRatingCount() |
||
69 | |||
70 | private $_reviewCount; |
||
71 | |||
72 | /** |
||
73 | * Set Review Count |
||
74 | * |
||
75 | * @param integer $reviewCount |
||
76 | * @return static |
||
77 | */ |
||
78 | public function setReviewCount($reviewCount) |
||
83 | |||
84 | /** |
||
85 | * Get Review count |
||
86 | * |
||
87 | * @return integer |
||
88 | */ |
||
89 | public function getReviewCount() |
||
93 | } |
||
94 |