src/Http/Kernel.php
/**
	 * Closes the HTTP kernel and sends the output body and headers.
	 *
	 * @param bool $skipErrorPage
	 */
Closes the HTTP kernel and sends the output body and headers.
Closes the HTTP kernel and sends the output body and headers .
public function close($skipErrorPage = false) {
		$this->response->halt();
		$this->response->prepare($this->request);
		$this->response->send();
		if (!$this->response->getContent() && $this->response->getStatusCode() != 200 && !$skipErrorPage) {
			$this->error($this->response->getStatusCode());
		}
		Profiler::stop('kernel');
		Application::kernel()->shutdown();
	}
public function close ( $ skipErrorPage = false ) { $ this -> response -> halt ( ) ; $ this -> response -> prepare ( $ this -> request ) ; $ this -> response -> send ( ) ; if ( ! $ this -> response -> getContent ( ) && $ this -> response -> getStatusCode ( ) != 200 && ! $ skipErrorPage ) { $ this -> error ( $ this -> response -> getStatusCode ( ) ) ; } Profiler :: stop ( 'kernel' ) ; Application :: kernel ( ) -> shutdown ( ) ; }
Closes the HTTP kernel and sends the output body and headers.
Closes the HTTP kernel and sends the output body and headers .
// Stop profiling // Stop the kernel