/**
  * Initializes the matching boot sequence depending on the type of the command
  * (RUNLEVEL_RUNTIME or RUNLEVEL_COMPILETIME) and manually injects the necessary dependencies of
  * this request handler.
  *
  * @param string $runlevel one of the Bootstrap::RUNLEVEL_* constants
  * @return void
  */
 protected function boot($runlevel)
 {
     $sequence = $runlevel === Bootstrap::RUNLEVEL_COMPILETIME ? $this->bootstrap->buildCompiletimeSequence() : $this->bootstrap->buildRuntimeSequence();
     $sequence->invoke($this->bootstrap);
     $this->objectManager = $this->bootstrap->getObjectManager();
     $this->dispatcher = $this->objectManager->get(\TYPO3\Flow\Mvc\Dispatcher::class);
 }
 /**
  * Initializes the matching boot sequence depending on the type of the command
  * (runtime or compiletime) and manually injects the necessary dependencies of
  * this request handler.
  *
  * @param string $runlevel Either "Compiletime" or "Runtime"
  * @return void
  */
 protected function boot($runlevel)
 {
     $sequence = $runlevel === 'Compiletime' ? $this->bootstrap->buildCompiletimeSequence() : $this->bootstrap->buildRuntimeSequence();
     $sequence->invoke($this->bootstrap);
     $this->objectManager = $this->bootstrap->getObjectManager();
     $this->dispatcher = $this->objectManager->get('TYPO3\\Flow\\Mvc\\Dispatcher');
 }