20220406
This commit is contained in:
17
vendor/hg/apidoc/src/annotation/Route.php
vendored
Normal file
17
vendor/hg/apidoc/src/annotation/Route.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace hg\apidoc\annotation;
|
||||
|
||||
use Doctrine\Common\Annotations\Annotation\Enum;
|
||||
|
||||
|
||||
final class Route extends Rule
|
||||
{
|
||||
/**
|
||||
* 请求类型
|
||||
* @Enum({"GET","POST","PUT","DELETE","PATCH","OPTIONS","HEAD"})
|
||||
* @var string
|
||||
*/
|
||||
public $method = "GET";
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user