mirror of
https://github.com/ivuorinen/monolog-gdpr-filter.git
synced 2026-02-09 11:48:30 +00:00
feat: initial commit
This commit is contained in:
19
src/FieldMaskConfig.php
Normal file
19
src/FieldMaskConfig.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Ivuorinen\MonologGdprFilter;
|
||||
|
||||
/**
|
||||
* FieldMaskConfig: config for masking/removal per field path
|
||||
*/
|
||||
final class FieldMaskConfig
|
||||
{
|
||||
public const MASK_REGEX = 'mask_regex';
|
||||
|
||||
public const REMOVE = 'remove';
|
||||
|
||||
public const REPLACE = 'replace';
|
||||
|
||||
public function __construct(public string $type, public ?string $replacement = null)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user