mirror of
https://github.com/fruithost/Panel.git
synced 2026-11-07 04:22:35 +09:00
17 lines
380 B
PHP
17 lines
380 B
PHP
<?php
|
|
namespace fruithost;
|
|
|
|
class Response {
|
|
public static function addHeader(string $name, string $value) {
|
|
ResponseFactory::getInstance()->addHeader($name, $value);
|
|
}
|
|
|
|
public static function header() {
|
|
ResponseFactory::getInstance()->header();
|
|
}
|
|
|
|
public static function redirect(string $url) {
|
|
ResponseFactory::getInstance()->redirect($url);
|
|
}
|
|
}
|
|
?>
|