code: public function setExtraData(array $extraData)
      {
          $this->extraData = [];
  
          foreach ($extraData as $item) {
              $this->addExtraData($item);
          }
  
          return $this;
      }
docs: Sets the "extraData" of the User.
  
  @param ExtraData[] $extraData
  
  @return User