Type Resolver

Expression
in package
implements Type

FinalYes

Represents an expression type as described in the PSR-5, the PHPDoc Standard.

Tags
psalm-immutable

Table of Contents

Interfaces

Type

Properties

$valueType  : Type

Methods

__construct()  : mixed
Initializes this representation of an array with the given Type.
__toString()  : string
Returns a rendered output of the Type as it would be used in a DocBlock.
getValueType()  : Type
Returns the value for the keys of this array.

Properties

Methods

__construct()

Initializes this representation of an array with the given Type.

public __construct(Type $valueType) : mixed
Parameters
$valueType : Type

__toString()

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

public __toString() : string
Return values
string

getValueType()

Returns the value for the keys of this array.

public getValueType() : Type
Return values
Type

        
On this page

Search results