/**
  * {@inheritdoc}
  */
 public function reverseTransform($value)
 {
     if (null === $value) {
         return;
     }
     if ($this->multiple) {
         if (is_string($value) && null !== $this->delimiter) {
             $value = explode($this->delimiter, $value);
         }
         if (!is_array($value)) {
             throw new UnexpectedTypeException($value, 'array');
         }
         if (method_exists($this->repository, 'findByIds')) {
             return $this->repository->findByIds($value);
         } else {
             return $this->repository->findBy(['id' => $value]);
         }
     }
     return $this->repository->find($value);
 }