phpDocumentor

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
psalm-assert-if-true

T|class-string<T> $criteria

Return values
bool

forType()

public static forType(SelfT> $type) : self
Parameters
$type : SelfT>
Return values
self

__construct()

private __construct(T> $type) : mixed
Parameters
$type : T>

        
On this page

Search results