code: public function setCategories(array $categories)
      {
          $this->categories = [];
  
          foreach ($categories as $item) {
              $this->addCategoryResponse($item);
          }
  
          return $this;
      }
docs: Sets the "categories" of the DeploymentSite.
  
  @param CategoryResponse[] $categories
  
  @return DeploymentSite