mirror of
https://gitee.com/ctexthuang/hyperf_rbac_framework_server_ctexthuang.git
synced 2025-12-25 18:17:49 +08:00
first commit
This commit is contained in:
14
app/Annotation/ResponseFormat.php
Normal file
14
app/Annotation/ResponseFormat.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Annotation;
|
||||
|
||||
use Attribute;
|
||||
|
||||
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
|
||||
class ResponseFormat
|
||||
{
|
||||
/**
|
||||
* @param string $format
|
||||
*/
|
||||
public function __construct(public string $format) {}
|
||||
}
|
||||
Reference in New Issue
Block a user