Patterns
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- matches() : bool
Properties
$patterns
private
array<string|int, Pattern>
$patterns
$regex
private
string
$regex
Methods
__construct()
public
__construct(Pattern ...$patterns) : mixed
Parameters
- $patterns : Pattern
matches()
public
matches(string $word) : bool
Parameters
- $word : string