src/mako/application/cli/Application.php
protected function registerGlobalReactorOptions(): void
	{
		$this->reactor->registerGlobalOption('env', 'Overrides the Mako environment', function(Config $config, $option): void
		{
			putenv('MAKO_ENV=' . $option);

			$config->setEnvironment($option);
		}, 'init');

		$this->reactor->registerGlobalOption('mute', 'Mutes all output', function(Output $output): void
		{
			$output->mute();
		}, 'init');
	}
protected function registerGlobalReactorOptions(): void
	{
		$this->reactor->registerGlobalOption('env', 'Overrides the Mako environment', function(Config $config, $option): void
		{
			putenv('MAKO_ENV=' . $option);

			$config->setEnvironment($option);
		}, 'init');

		$this->reactor->registerGlobalOption('mute', 'Mutes all output', function(Output $output): void
		{
			$output->mute();
		}, 'init');
	}
protected function registerGlobalReactorOptions ( ) : void { $ this -> reactor -> registerGlobalOption ( 'env' , 'Overrides the Mako environment' , function ( Config $ config , $ option ) : void { putenv ( 'MAKO_ENV=' . $ option ) ; $ config -> setEnvironment ( $ option ) ; } , 'init' ) ; $ this -> reactor -> registerGlobalOption ( 'mute' , 'Mutes all output' , function ( Output $ output ) : void { $ output -> mute ( ) ; } , 'init' ) ; }
Registers global reactor options.
Registers global reactor options .