mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-14 21:26:37 +00:00
24 lines
410 B
PHP
24 lines
410 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Normalizer\Attributes;
|
|
|
|
use Attribute;
|
|
|
|
#[Attribute(Attribute::TARGET_PROPERTY | Attribute::TARGET_METHOD)]
|
|
final class DeepNormalize
|
|
{
|
|
private bool $deepNormalize;
|
|
|
|
public function __construct(bool $value)
|
|
{
|
|
$this->deepNormalize = $value;
|
|
}
|
|
|
|
public function getDeepNormalize(): bool
|
|
{
|
|
return $this->deepNormalize;
|
|
}
|
|
}
|