framework/framework/facade/Route.php

25 lines
491 B
PHP

<?php
/**
* Author: topnuomi
* Date: 2021/3/13 11:39
*/
namespace top\facade;
use top\base\Facade;
/**
* @method static group(string $groupName, $closure)
* @method static get(string $rule, mixed $route)
* @method static post(string $rule, mixed $route)
* @method static put(string $rule, mixed $route)
* @method static delete(string $rule, mixed $route)
*/
class Route extends Facade
{
public static function getRepresentName(): string
{
return 'route';
}
}