src/mako/reactor/Reactor.php
public function handleGlobalOptions(string $group = 'default'): void
	{
		if(isset($this->options[$group]))
		{
			foreach($this->options[$group] as $name => $option)
			{
				$input = $this->input->getArgument($name);

				if(!empty($input))
				{
					$handler = $option['handler'];

					$this->container->call($handler, ['option' => $input]);
				}
			}
		}
	}
public function handleGlobalOptions(string $group = 'default'): void
	{
		if(isset($this->options[$group]))
		{
			foreach($this->options[$group] as $name => $option)
			{
				$input = $this->input->getArgument($name);

				if(!empty($input))
				{
					$handler = $option['handler'];

					$this->container->call($handler, ['option' => $input]);
				}
			}
		}
	}
public function handleGlobalOptions ( string $ group = 'default' ) : void { if ( isset ( $ this -> options [ $ group ] ) ) { foreach ( $ this -> options [ $ group ] as $ name => $ option ) { $ input = $ this -> input -> getArgument ( $ name ) ; if ( ! empty ( $ input ) ) { $ handler = $ option [ 'handler' ] ; $ this -> container -> call ( $ handler , [ 'option' => $ input ] ) ; } } } }
Handles global reactor options.

@param string $group Option group
Handles global reactor options .