code: public function prepareElement(FormInterface $form)
      {
          $name = $this->getName();
  
          $this->startElement->setName($name . '[start]');
          $this->endElement->setName($name . '[end]');
      }
docs: Prepare the form element (mostly used for rendering purposes).
  
  @param FormInterface $form
  
  @return void