PregMatch
in package
implements
Constraint
Matches against a PCRE regex
Based on PHPUnit_Framework_Constraint_PCREMatch
Tags
Interfaces, Classes, Traits and Enums
- Constraint
- Interface for constraints.
Table of Contents
- $regex : mixed
- __construct() : mixed
- evaluate() : mixed
Properties
$regex
private
mixed
$regex
Methods
__construct()
public
__construct(string $regex) : mixed
Parameters
- $regex : string
Return values
mixed —evaluate()
public
evaluate(mixed $value) : mixed
Parameters
- $value : mixed