src/mako/reactor/Reactor.php
public function registerGlobalOption(string $name, string $description, Closure $handler, string $group = 'default'): void
	{
		$this->options[$group][$name] = ['description' => $description, 'handler' => $handler];
	}
public function registerGlobalOption(string $name, string $description, Closure $handler, string $group = 'default'): void
	{
		$this->options[$group][$name] = ['description' => $description, 'handler' => $handler];
	}
public function registerGlobalOption ( string $ name , string $ description , Closure $ handler , string $ group = 'default' ) : void { $ this -> options [ $ group ] [ $ name ] = [ 'description' => $ description , 'handler' => $ handler ] ; }
Register a global reactor option.

@param string   $name        Option name
@param string   $description Option description
@param \Closure $handler     Option handler
@param string   $group       Option group
Register a global reactor option .