code: final public function getItems(\DateTimeImmutable $time): iterable
      {
          $class = $this->getClass();
          $manager = $this->managerRegistry->getManagerForClass($class);
          $repository = $manager->getRepository($class);
  
          foreach ($this->getEntityIds($repository, $time) as $key => $id) {
              $itemId = $this->useKeyAsItemId ? $key : null;
  
              yield new EntityItem($manager, $class, $id, $itemId);
          }
      }
docs: {@inheritdoc}