Documentation

Matcher
in package

Tags
template

T

Table of Contents

$type  : class-string<\phpDocumentor\Descriptor\Builder\T>
__invoke()  : bool
forType()  : self
__construct()  : mixed

Properties

$type

private class-string<\phpDocumentor\Descriptor\Builder\T> $type

Methods

__invoke()

public __invoke(object|class-string $criteria) : bool
Parameters
$criteria : object|class-string
Tags
psalm-assert-if-true

T|class-string $criteria

Return values
bool

forType()

public static forType(class-string<\phpDocumentor\Descriptor\Builder\SelfT> $type) : self
Parameters
$type : class-string<\phpDocumentor\Descriptor\Builder\SelfT>
Tags
template

SelfT

Return values
self

__construct()

private __construct(class-string<\phpDocumentor\Descriptor\Builder\T> $type) : mixed
Parameters
$type : class-string<\phpDocumentor\Descriptor\Builder\T>
Return values
mixed

Search results