mirror of https://gitee.com/topnuomi/framework
25 lines
491 B
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';
|
|
}
|
|
}
|