Masker uses ConstantsTrait
The attribute masking functions (the `type` of a masking rule).
The names follow a conventional data-masking vocabulary, so the same rule set can drive this portable PHP engine and any compatible external tool that shares the same masker names.
Tags
Table of Contents
Constants
- CREDIT_CARD : string = 'creditCard'
- DATETIME : string = 'datetime'
- DECIMAL : string = 'decimal'
- EMAIL : string = 'email'
- INTEGER : string = 'integer'
- PHONE : string = 'phone'
- RANDOM : string = 'random'
- RANDOM_STRING : string = 'randomString'
- XIFY_FRONT : string = 'xifyFront'
- ZIP : string = 'zip'
Constants
CREDIT_CARD
public
string
CREDIT_CARD
= 'creditCard'
DATETIME
public
string
DATETIME
= 'datetime'
DECIMAL
public
string
DECIMAL
= 'decimal'
public
string
EMAIL
= 'email'
INTEGER
public
string
INTEGER
= 'integer'
PHONE
public
string
PHONE
= 'phone'
RANDOM
public
string
RANDOM
= 'random'
RANDOM_STRING
public
string
RANDOM_STRING
= 'randomString'
XIFY_FRONT
public
string
XIFY_FRONT
= 'xifyFront'
ZIP
public
string
ZIP
= 'zip'