19 lines
339 B
PHP
19 lines
339 B
PHP
<?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,
|
|
) {
|
|
}
|
|
}
|