/** * @return static */ public function withWarehouse() { $this->entityDTO->warehouse = $this->dtoBuilderFactory->getWarehouseDTOBuilder($this->entity->getWarehouse())->build(); return $this; }