OneOrMoreBase
in package
implements
RuleInterface
Base class for the rule wich allows the defined set of characters Empty strings are not allowed.
At least one character from the defined set of chars.
Tags
Interfaces, Classes and Traits
- RuleInterface
- Common interface for all rules
Table of Contents
- $charSet : string
- Charset
- __construct() : mixed
- Constructor
- getCharSet() : string
- Method returns char set
Properties
$charSet
Charset
private
string
$charSet
= ''
Methods
__construct()
Constructor
public
__construct(string $charSet) : mixed
Parameters
- $charSet : string
-
the defined character set
Return values
mixed —getCharSet()
Method returns char set
protected
getCharSet() : string
Return values
string —char set