Neos\Flow\Cli\CommandRequestHandler::boot PHP Method

boot() protected method

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.
protected boot ( string $runlevel ) : void
$runlevel string 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(Dispatcher::class);
    }