src/Router.php
public function wrap_callback(callable $callback, array $args=[]) {
		self::$logger->debug(sprintf("Router: %s '%s'.",
			$this->request_method, $this->request_path));
		$callback($args);
		static::halt();
	}
public function wrap_callback(callable $callback, array $args=[]) {
		self::$logger->debug(sprintf("Router: %s '%s'.",
			$this->request_method, $this->request_path));
		$callback($args);
		static::halt();
	}
public function wrap_callback ( callable $ callback , array $ args = [ ] ) { self :: $ logger -> debug ( sprintf ( "Router: %s '%s'." , $ this -> request_method , $ this -> request_path ) ) ; $ callback ( $ args ) ; static :: halt ( ) ; }
Callback wrapper.

Override this for more decorator-like processing. Make sure
the override always ends with halt().

@param callable $callback Callback method.
@param array $args HTTP variables collected by router.
Callback wrapper .