mirror of
https://github.com/fruithost/Panel.git
synced 2026-10-27 23:27:25 +09:00
17 lines
411 B
PHP
17 lines
411 B
PHP
<?php
|
|
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);
|
|
}
|
|
}
|
|
?>
|