Files
huangjingfen/pro_v3.5.1/vendor/topthink/think-annotation/src/route/Patch.php

18 lines
298 B
PHP
Raw Normal View History

2026-03-07 22:29:07 +08:00
<?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);
}
}