protected function initWarehouses(array $warehouses)
 {
     foreach ($warehouses as $item) {
         $warehouse = Helper::object2object($item, new Warehouse());
         $this->addWarehouse($warehouse);
     }
 }
 public function getCities()
 {
     $response = [];
     /** @var AreaObject $area */
     foreach ($this->Areas->getAreas() as $area) {
         /** @var CityObject $city */
         foreach ($area->getCities() as $city) {
             $response[] = Helper::object2object($city, new City());
         }
     }
     Helper::sortArrayOfObjects($response, 'DescriptionRu');
     return $response;
 }