Code layout

The module's classes

Four classes, loaded by a minimal autoloader. No Composer dependency.

ClassRole
StagingEnvironment state, colours, badge position and wording, stylesheet generation.
UrlReplacerColumn scanning, replacement, serialised-value handling, log.
AnonymiserDry run, sampling and batched execution, maintenance-mode check, log.
AnonymiseTargetDeclarative description of a target: table, key, rewritten columns, filter, sample columns.

Adding an anonymisation target means declaring one more instance in AnonymiseTarget::all(): the engine, the interface and the log pick it up with no further change.

Loading...
Back to top