Mask
class Mask extends StringMutator (View source)
Masks a string with a single character based on a regular expression
Traits
Methods
__construct(string $pattern, string $replacement = '*')
No description
string
mutateString(string $value)
No description
Details
__construct(string $pattern, string $replacement = '*')
No description
static Mask
make(string $pattern, string $replacement = '*')
No description
final mixed
mutate(mixed $value)
Mutate the input value.
protected string
mutateString(string $value)
No description
protected string
resolveStringInput(mixed $value)
No description