TypeMatcher
in package
Table of Contents
- $type : string
- __construct() : mixed
- matches() : bool
Properties
$type
private
string
$type
Methods
__construct()
public
__construct(string $type) : mixed
Parameters
- $type : string
Return values
mixed —matches()
public
matches(mixed $element) : bool
Parameters
- $element : mixed