code: public function setImagesToShow(...$imageNames) {
          if (empty($imageNames)) {
              throw new \InvalidArgumentException('$imageNames argument cannot be empty');
          }
          if (count($imageNames) === 1 && isset($imageNames[0]) && is_array($imageNames[0])) {
              $imageNames = $imageNames[0];
          }
          $this->fileConfigsToShow = $imageNames;
          return $this;
      }
docs: List of image names to display.
  Only provided images will be shown in form. Other images will be ignored (and won't be changed in any way)
  @param array $imageNames
  @return $this
  @throws \InvalidArgumentException