code: public function addImage(HeaderFooterDrawing $image, $location = self::IMAGE_HEADER_LEFT)
      {
          $this->headerFooterImages[$location] = $image;
  
          return $this;
      }
docs: Add header/footer image.
  
  @param HeaderFooterDrawing $image
  @param string $location
  
  @return HeaderFooter