yii\apidoc\helpers\PrettyPrinter - Yii2 类参考手册

Class yii\apidoc\helpers\PrettyPrinter

Inheritanceyii\apidoc\helpers\PrettyPrinter » phpDocumentor\Reflection\PrettyPrinter
Available since version2.0

Enhances the phpDocumentor PrettyPrinter with short array syntax

Public Methods

隐藏继承的方法 Hide inherited methods

方法 Method简介 Description定义在 Defined By
getRepresentationOfValue() Returns a simple human readable output for a value. yii\apidoc\helpers\PrettyPrinter
pExpr_Array() yii\apidoc\helpers\PrettyPrinter

方法详情 Method Details

getRepresentationOfValue() public static method

Returns a simple human readable output for a value.

public static string getRepresentationOfValue ( \PhpParser\Node\Expr $value )
$value \PhpParser\Node\Expr

The value node as provided by PHP-Parser.

pExpr_Array() public method

public string pExpr_Array ( \PhpParser\Node\Expr\Array_ $node )
$node \PhpParser\Node\Expr\Array_