/**
  * Return an index of entries from related stream.
  *
  * @param LookupTableBuilder $table
  * @param                    $key
  * @return \Symfony\Component\HttpFoundation\Response
  */
 public function index(LookupTableBuilder $table, $key)
 {
     /* @var Collection $config */
     $config = $this->dispatch(new GetConfiguration($key));
     $table->setConfig($config)->setModel($config->get('related'));
     $this->dispatch(new HydrateLookupTable($table));
     return $table->render();
 }