Type Resolver

IntMask extends Integer
in package
implements PseudoType

FinalYes

Value Object representing the `int-mask` type.

Tags
psalm-immutable

Table of Contents

Interfaces

PseudoType

Properties

$types  : array<string|int, Type>

Methods

__construct()  : mixed
__toString()  : string
Returns a rendered output of the Type as it would be used in a DocBlock.
getTypes()  : array<string|int, Type>
underlyingType()  : Type

Properties

Methods

__construct()

public __construct(Type ...$types) : mixed
Parameters
$types : Type

__toString()

Returns a rendered output of the Type as it would be used in a DocBlock.

public __toString() : string
Return values
string

getTypes()

public getTypes() : array<string|int, Type>
Return values
array<string|int, Type>

        
On this page

Search results