Files
MrleeAdmin/backend/app/attribute/EncryptResponse.php
T

19 lines
339 B
PHP
Raw Normal View History

2026-08-31 11:33:59 +08:00
<?php
declare(strict_types=1);
namespace app\attribute;
use Attribute;
#[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_CLASS)]
class EncryptResponse
{
public function __construct(
public bool $enabled = true,
public bool $encryptRequest = true,
public bool $encryptResponse = true,
) {
}
}