| 1 | <?php |
||
| 7 | class ResponsePopularModelsGet extends Model |
||
| 8 | { |
||
| 9 | protected $categories = null; |
||
| 10 | |||
| 11 | protected $mappingClasses = [ |
||
| 12 | 'categories' => 'Yandex\Market\Content\Models\Categories' |
||
| 13 | ]; |
||
| 14 | |||
| 15 | protected $propNameMap = [ |
||
| 16 | 'topCategoryList' => 'categories' |
||
| 17 | ]; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Constructor |
||
| 21 | * |
||
| 22 | * @param array $data |
||
| 23 | */ |
||
| 24 | 2 | public function __construct($data = array()) |
|
| 28 | |||
| 29 | /** |
||
| 30 | * Retrieve the categories property |
||
| 31 | * |
||
| 32 | * @return Categories|null |
||
| 33 | */ |
||
| 34 | 2 | public function getCategories() |
|
| 38 | } |
||
| 39 |