Skip to content

Conversation

@gustavonecore
Copy link
Owner

No description provided.

/**
* Class to sanitize regular expressions
*/
class TypeRegexp implements TypeInterface
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change name to AcmeClass

case 'double' : $type = new TypeDouble; break;
case 'email' : $type = new TypeEmail; break;
default: throw new InvalidArgumentException('Invalid type ' . $rule);
default: $type = $this->getCustomSanitizer($rule);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this function public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants