Documentation

ClassString extends String_
in package
implements PseudoType

Value Object representing the type 'string'.

Tags
psalm-immutable

Interfaces, Classes, Traits and Enums

PseudoType

Table of Contents

$fqsen  : Fqsen|null
__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.
underlyingType()  : Type

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
Return values
mixed

__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

Search results