Guides

ExpressionPrinter extends Standard
in package

FinalYes

Table of Contents

Properties

$context  : Context|null
$parts  : array<string, Fqsen|Type>
$typeResolver  : TypeResolver

Methods

__construct()  : mixed
{@inheritDoc}
getParts()  : array<string, Fqsen|Type>
prettyPrintExpr()  : string
pExpr_ClassConstFetch()  : string
pName()  : string
pName_FullyQualified()  : string
resetState()  : void

Properties

Methods

__construct()

{@inheritDoc}

public __construct([array<string|int, mixed> $options = [] ]) : mixed
Parameters
$options : array<string|int, mixed> = []

getParts()

public getParts() : array<string, Fqsen|Type>
Return values
array<string, Fqsen|Type>

prettyPrintExpr()

public prettyPrintExpr(Expr $node[, Context|null $context = null ]) : string
Parameters
$node : Expr
$context : Context|null = null
Return values
string

pExpr_ClassConstFetch()

protected pExpr_ClassConstFetch(ClassConstFetch $node) : string
Parameters
$node : ClassConstFetch
Return values
string

pName()

protected pName(Name $node) : string
Parameters
$node : Name
Return values
string

pName_FullyQualified()

protected pName_FullyQualified(FullyQualified $node) : string
Parameters
$node : FullyQualified
Return values
string

        
On this page

Search results