class NotRegex implements Stringable (View source)

Methods

__construct(string $pattern)

Create a new not_regex rule instance.

string
__toString()

Convert the rule to a validation string.

Details

__construct(string $pattern)

Create a new not_regex rule instance.

Parameters

string $pattern

string __toString()

Convert the rule to a validation string.

Return Value

string