Type Resolver

TraitString extends String_
in package
implements PseudoType

FinalYes

Value Object representing the type `trait-string`.

Tags
psalm-immutable

Table of Contents

Interfaces

PseudoType

Properties

$genericType  : Type|null

Methods

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

Properties

Methods

__construct()

public __construct([Type|null $genericType = null ]) : mixed
Parameters
$genericType : Type|null = null

__toString()

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

public __toString() : string
Return values
string

        
On this page

Search results