src/Tao/Controller/Controller.php
public function serve503()
	{
		$response = new Response();
		$response->setStatusCode(Response::HTTP_SERVICE_UNAVAILABLE);
		$response->headers->set('Retry-After', 3600);

		return $this->render('Errors/503', [], $response);
	}
public function serve503()
	{
		$response = new Response();
		$response->setStatusCode(Response::HTTP_SERVICE_UNAVAILABLE);
		$response->headers->set('Retry-After', 3600);

		return $this->render('Errors/503', [], $response);
	}
public function serve503 ( ) { $ response = new Response ( ) ; $ response -> setStatusCode ( Response :: HTTP_SERVICE_UNAVAILABLE ) ; $ response -> headers -> set ( 'Retry-After' , 3600 ) ; return $ this -> render ( 'Errors/503' , [ ] , $ response ) ; }
Affichage page 503
Affichage page 503