Matcher
in package
FinalYes
Table of Contents
Properties
- $type : string
Methods
- __invoke() : bool
- forType() : self
- __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) : self
Parameters
- $type : SelfT>
Return values
self__construct()
private
__construct(T> $type) : mixed
Parameters
- $type : T>