These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php |
||
2 | |||
3 | namespace Yandex\Market\Content\Models; |
||
4 | |||
5 | use Yandex\Common\Model; |
||
6 | |||
7 | class Vendor extends Model |
||
8 | { |
||
9 | protected $id = null; |
||
10 | |||
11 | protected $name = null; |
||
12 | |||
13 | protected $pictureUrl = null; |
||
14 | |||
15 | protected $site = null; |
||
16 | |||
17 | protected $categories = null; |
||
18 | |||
19 | /** |
||
20 | * Additional properties available during listed requests. |
||
21 | */ |
||
22 | protected $modelId = null; |
||
23 | |||
24 | protected $modelPhotoUrl = null; |
||
25 | |||
26 | protected $topCategories = null; |
||
27 | |||
28 | protected $mappingClasses = [ |
||
29 | 'categories' => 'Yandex\Market\Content\Models\Categories', |
||
30 | 'topCategories' => 'Yandex\Market\Content\Models\Categories' |
||
31 | ]; |
||
32 | |||
33 | protected $propNameMap = [ |
||
34 | 'topModelId' => 'modelId', |
||
35 | 'topModelImage' => 'modelPhotoUrl', |
||
36 | 'picture' => 'pictureUrl' |
||
37 | ]; |
||
38 | |||
39 | /** |
||
40 | * Retrieve the id property |
||
41 | * |
||
42 | * @return int|null |
||
43 | */ |
||
44 | 12 | public function getId() |
|
45 | { |
||
46 | 12 | return $this->id; |
|
47 | } |
||
48 | |||
49 | /** |
||
50 | * Retrieve the name property |
||
51 | * |
||
52 | * @return string|null |
||
53 | */ |
||
54 | 12 | public function getName() |
|
55 | { |
||
56 | 12 | return $this->name; |
|
57 | } |
||
58 | |||
59 | /** |
||
60 | * Retrieve the pictureUrl property |
||
61 | * |
||
62 | * @return string|null |
||
63 | */ |
||
64 | 5 | public function getPictureUrl() |
|
65 | { |
||
66 | 5 | return $this->pictureUrl; |
|
67 | } |
||
68 | |||
69 | /** |
||
70 | * Retrieve the site property |
||
71 | * |
||
72 | * @return string|null |
||
73 | */ |
||
74 | 10 | public function getSite() |
|
75 | { |
||
76 | 10 | return $this->site; |
|
77 | } |
||
78 | |||
79 | /** |
||
80 | * Retrieve the categories property |
||
81 | * |
||
82 | * @return ???|null |
||
0 ignored issues
–
show
|
|||
83 | */ |
||
84 | 2 | public function getCategories() |
|
85 | { |
||
86 | 2 | return $this->categories; |
|
87 | } |
||
88 | |||
89 | /** |
||
90 | * Retrieve the modelPhotoUrl property |
||
91 | * |
||
92 | * @note Property available during /popular request. |
||
93 | * |
||
94 | * @return int|null |
||
95 | */ |
||
96 | 2 | public function getModelId() |
|
97 | { |
||
98 | 2 | return $this->modelId; |
|
99 | } |
||
100 | |||
101 | /** |
||
102 | * Retrieve the modelPhotoUrl property |
||
103 | * |
||
104 | * @note Property available during /popular request. |
||
105 | * @note Property available during /popular/category request. |
||
106 | * |
||
107 | * @return string|null |
||
108 | */ |
||
109 | 2 | public function getModelPhotoUrl() |
|
110 | { |
||
111 | 2 | return $this->modelPhotoUrl; |
|
112 | } |
||
113 | |||
114 | /** |
||
115 | * Retrieve the topCategories property |
||
116 | * |
||
117 | * @note Property available during /vendor request. |
||
118 | * |
||
119 | * @return Categories|null |
||
120 | */ |
||
121 | 2 | public function getTopCategories() |
|
122 | { |
||
123 | 2 | return $this->topCategories; |
|
124 | } |
||
125 | } |
||
126 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.