protected function runController($class)
	{
		if (method_exists($class, '_remap'))
		{
			$output = $class->_remap($this->method, ...$this->router->params());
		}
		else
		{
			$output = $class->{$this->method}(...$this->router->params());
		}

		$this->benchmark->stop('controller');

		return $output;
	}
protected function runController($class)
	{
		if (method_exists($class, '_remap'))
		{
			$output = $class->_remap($this->method, ...$this->router->params());
		}
		else
		{
			$output = $class->{$this->method}(...$this->router->params());
		}

		$this->benchmark->stop('controller');

		return $output;
	}
protected function runController ( $ class ) { if ( method_exists ( $ class , '_remap' ) ) { $ output = $ class -> _remap ( $ this -> method , ... $ this -> router -> params ( ) ) ; } else { $ output = $ class -> { $ this -> method } ( ... $ this -> router -> params ( ) ) ; } $ this -> benchmark -> stop ( 'controller' ) ; return $ output ; }
Runs the controller, allowing for _remap methods to function.

@param mixed $class

@return mixed
Runs the controller allowing for _remap methods to function .