new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php namespace ZN\Response;
|
||||
/**
|
||||
* ZN PHP Web Framework
|
||||
*
|
||||
* "Simplicity is the ultimate sophistication." ~ Da Vinci
|
||||
*
|
||||
* @package ZN
|
||||
* @license MIT [http://opensource.org/licenses/MIT]
|
||||
* @author Ozan UYKUN [ozan@znframework.com]
|
||||
*/
|
||||
|
||||
class Refresh extends Redirect
|
||||
{
|
||||
/**
|
||||
* Magic Constructor
|
||||
*
|
||||
* @param string $url = NULL
|
||||
* @param int $time = 0
|
||||
* @param array $data = NULL
|
||||
* @param bool $exit = false
|
||||
*/
|
||||
public function __construct(?string $url = NULL, int $time = 0, ?array $data = NULL, bool $exit = false)
|
||||
{
|
||||
if( $url !== NULL )
|
||||
{
|
||||
$this->refresh($url, $time, $data, $exit);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user