Type Resolver

ConstExpression
in package
implements PseudoType

FinalYes
Tags
psalm-immutable

Table of Contents

Interfaces

PseudoType

Properties

$expression  : string
$owner  : Type

Methods

__construct()  : mixed
__toString()  : string
Returns a rendered output of the Type as it would be used in a DocBlock.
getExpression()  : string
getOwner()  : Type
underlyingType()  : Type

Properties

Methods

__construct()

public __construct(Type $owner, string $expression) : mixed
Parameters
$owner : Type
$expression : string

__toString()

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

public __toString() : string
Return values
string

getExpression()

public getExpression() : string
Return values
string

        
On this page

Search results