Class RegexValidator

Class AbstractTranslatableValidator Abstract class for managing translatable requirements and errors.

Concrete\Core\Validator\AbstractTranslatableValidator implements Concrete\Core\Validator\TranslatableValidatorInterface
Extended by Concrete\Core\Validator\String\RegexValidator
Namespace: Concrete\Core\Validator\String
Package: Concrete\Core\Validator
Located at src/Validator/String/RegexValidator.php

Methods summary

public
# __construct( string $pattern )

RegexValidator constructor.

public string
# getPattern( )
public
# setPattern( string $pattern )
public boolean
# isValid( mixed $mixed, ArrayAccess $error = null )

Is this mixed value valid

Constants summary

integer E_DOES_NOT_MATCH

Passed string doesn't match

# 1

Properties summary

protected $pattern
#