Files
fruithostPanel/classes/Network/Response.class.php
T

25 lines
543 B
PHP

<?php
/**
* fruithost | OpenSource Hosting
*
* @author Adrian Preuß
* @version 1.0.0
* @license MIT
*/
namespace fruithost\Network;
class Response {
public static function addHeader(string $name, string $value) : void {
ResponseFactory::getInstance()->addHeader($name, $value);
}
public static function header() : void {
ResponseFactory::getInstance()->header();
}
public static function redirect(string $url) : void {
ResponseFactory::getInstance()->redirect($url);
}
}
?>