original_string: private function prepareCustomBootstrapAndAutoloading(string $bootstrapFile)
      {
          /** @var Finder $autoloadFinder */
          $autoloadFinder = $this->objectManager->get(Finder::class);
          $projectAutoloaderPath = $autoloadFinder->find(getcwd());
          if ($projectAutoloaderPath !== '') {
              require_once $projectAutoloaderPath;
          }
  
          // The variable will be exported to the bootstrap file
          $eventDispatcher = $this->eventDispatcher;
          if ($bootstrapFile) {
              require_once $bootstrapFile;
          }
          unset($eventDispatcher);
      }
code: private function prepareCustomBootstrapAndAutoloading(string $bootstrapFile)
      {
          /** @var Finder $autoloadFinder */
          $autoloadFinder = $this->objectManager->get(Finder::class);
          $projectAutoloaderPath = $autoloadFinder->find(getcwd());
          if ($projectAutoloaderPath !== '') {
              require_once $projectAutoloaderPath;
          }
  
          // The variable will be exported to the bootstrap file
          $eventDispatcher = $this->eventDispatcher;
          if ($bootstrapFile) {
              require_once $bootstrapFile;
          }
          unset($eventDispatcher);
      }
code_tokens: private function prepareCustomBootstrapAndAutoloading ( string $ bootstrapFile ) { /** @var Finder $autoloadFinder */ $ autoloadFinder = $ this -> objectManager -> get ( Finder :: class ) ; $ projectAutoloaderPath = $ autoloadFinder -> find ( getcwd ( ) ) ; if ( $ projectAutoloaderPath !== '' ) { require_once $ projectAutoloaderPath ; } // The variable will be exported to the bootstrap file $ eventDispatcher = $ this -> eventDispatcher ; if ( $ bootstrapFile ) { require_once $ bootstrapFile ; } unset ( $ eventDispatcher ) ; }
docstring: Include the custom bootstrap file
  
  @param string $bootstrapFile
docstring_tokens: Include the custom bootstrap file