Type Resolver

InterfaceString
in package
implements Type

FinalYes

Value Object representing the type 'string'.

Tags
psalm-immutable

Table of Contents

Interfaces

Type

Properties

$fqsen  : Fqsen|null

Methods

__construct()  : mixed
Initializes this representation of a class string with the given Fqsen.
__toString()  : string
Returns a rendered output of the Type as it would be used in a DocBlock.
getFqsen()  : Fqsen|null
Returns the FQSEN associated with this object.

Properties

Methods

__construct()

Initializes this representation of a class string with the given Fqsen.

public __construct([Fqsen|null $fqsen = null ]) : mixed
Parameters
$fqsen : Fqsen|null = null

__toString()

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

public __toString() : string
Return values
string

getFqsen()

Returns the FQSEN associated with this object.

public getFqsen() : Fqsen|null
Return values
Fqsen|null

        
On this page

Search results