Matcher
FinalYes
Table of Contents
Properties
- $type : string
Methods
- __invoke() : bool
- forType() : SelfT>
- __construct() : mixed
Properties
$type read-only
private
string
$type
Methods
__invoke()
public
__invoke(object|class-string $criteria) : bool
Parameters
- $criteria : object|class-string
Tags
Return values
boolforType()
public
static forType(SelfT> $type) : SelfT>
Parameters
- $type : SelfT>
Return values
SelfT>__construct()
private
__construct(T> $type) : mixed
Parameters
- $type : T>