src/mako/http/routing/Dispatcher.php
protected function executeClosure(Closure $closure, array $parameters): Response
	{
		return $this->response->setBody($this->container->call($closure, $parameters));
	}
protected function executeClosure(Closure $closure, array $parameters): Response
	{
		return $this->response->setBody($this->container->call($closure, $parameters));
	}
protected function executeClosure ( Closure $ closure , array $ parameters ) : Response { return $ this -> response -> setBody ( $ this -> container -> call ( $ closure , $ parameters ) ) ; }
Executes a closure action.

@param  \Closure            $closure    Closure
@param  array               $parameters Parameters
@return \mako\http\Response
Executes a closure action .