src/mako/application/cli/Application.php
protected function startReactor(): void
	{
		$this->container->registerSingleton([Input::class, 'input'], function()
		{
			return $this->inputFactory();
		});

		$this->container->registerSingleton([Output::class, 'output'], function()
		{
			return $this->outputFactory();
		});

		$this->reactor = $this->reactorFactory();

		// Set logo

		$this->reactor->setLogo($this->loadLogo());

		// Register global options

		$this->registerGlobalReactorOptions();

		// Handle initialization options

		$this->reactor->handleGlobalOptions('init');
	}
protected function startReactor(): void
	{
		$this->container->registerSingleton([Input::class, 'input'], function()
		{
			return $this->inputFactory();
		});

		$this->container->registerSingleton([Output::class, 'output'], function()
		{
			return $this->outputFactory();
		});

		$this->reactor = $this->reactorFactory();

		// Set logo

		$this->reactor->setLogo($this->loadLogo());

		// Register global options

		$this->registerGlobalReactorOptions();

		// Handle initialization options

		$this->reactor->handleGlobalOptions('init');
	}
protected function startReactor ( ) : void { $ this -> container -> registerSingleton ( [ Input :: class , 'input' ] , function ( ) { return $ this -> inputFactory ( ) ; } ) ; $ this -> container -> registerSingleton ( [ Output :: class , 'output' ] , function ( ) { return $ this -> outputFactory ( ) ; } ) ; $ this -> reactor = $ this -> reactorFactory ( ) ; // Set logo $ this -> reactor -> setLogo ( $ this -> loadLogo ( ) ) ; // Register global options $ this -> registerGlobalReactorOptions ( ) ; // Handle initialization options $ this -> reactor -> handleGlobalOptions ( 'init' ) ; }
Starts the reactor.
Starts the reactor .