37 lines
795 B
PHP
37 lines
795 B
PHP
<?php
|
|
/**
|
|
* MineAdmin is committed to providing solutions for quickly building web applications
|
|
* Please view the LICENSE file that was distributed with this source code,
|
|
* For the full copyright and license information.
|
|
* Thank you very much for using MineAdmin.
|
|
*
|
|
* @Author X.Mo<root@imoi.cn>
|
|
* @Link https://gitee.com/xmo/MineAdmin
|
|
*/
|
|
|
|
declare(strict_types=1);
|
|
namespace Builder;
|
|
|
|
use Hyperf\HttpServer\Server;
|
|
|
|
class MineServer extends Server
|
|
{
|
|
protected ?string $serverName = 'ViewUI';
|
|
|
|
protected $routes;
|
|
|
|
public function onRequest($request, $response): void
|
|
{
|
|
parent::onRequest($request, $response);
|
|
$this->bootstrap();
|
|
}
|
|
|
|
/**
|
|
* MineServer bootstrap
|
|
* @return void
|
|
*/
|
|
protected function bootstrap(): void
|
|
{
|
|
}
|
|
}
|