wordpress-anonymizer icon indicating copy to clipboard operation
wordpress-anonymizer copied to clipboard

Allow passing values to faker formatters

Open gggeek opened this issue 1 year ago • 1 comments
trafficstars

fe. the yaml line

password: "password(2, 6)"

could be parsed to retrieve 2 arguments, and inject them into the formatter by making usage of call_user_func_array

gggeek avatar Jan 12 '24 14:01 gggeek

While at it, it would be nice to allow passing in modifiers as well, such as unique or optional

gggeek avatar Jan 12 '24 17:01 gggeek