This commit is contained in:
2024-12-16 16:05:01 +08:00
parent 34ab8f145c
commit daa02a6408
2 changed files with 31 additions and 43 deletions
-19
View File
@@ -1,19 +0,0 @@
<?php
namespace Kiri\Router\Annotate;
use Kiri\Router\ContentType;
#[\Attribute(\Attribute::TARGET_METHOD)]
class ResponseContentType
{
/**
* @param ContentType $contentType
*/
public function __construct(public ContentType $contentType = ContentType::JSON)
{
}
}