new files
This commit is contained in:
17
pro_v3.5.1/vendor/topthink/think-annotation/src/route/Patch.php
vendored
Normal file
17
pro_v3.5.1/vendor/topthink/think-annotation/src/route/Patch.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace think\annotation\route;
|
||||
|
||||
use Attribute;
|
||||
|
||||
#[Attribute(Attribute::TARGET_METHOD)]
|
||||
class Patch extends Route
|
||||
{
|
||||
public function __construct(
|
||||
public string $rule,
|
||||
public array $options = []
|
||||
)
|
||||
{
|
||||
parent::__construct('PATCH', $rule, $options);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user