PHP Class arrayDumper, yiidebugtb

Show file Open project: cr0t/yiidebugtb Class Usage Examples

Public Methods

Method Description
dump ( $var, $depth = 10, $highlight = false, $yamlStyle = false ) Displays a variable.
dumpAsString ( $var, $depth = 10, $highlight = false ) : string Dumps a variable in terms of a string.

Private Methods

Method Description
dumpInternal ( $var, $level )

Method Details

dump() public static method

This method achieves the similar functionality as var_dump and print_r but is more robust when handling complex objects such as Yii controllers.
public static dump ( $var, $depth = 10, $highlight = false, $yamlStyle = false )

dumpAsString() public static method

This method achieves the similar functionality as var_dump and print_r but is more robust when handling complex objects such as Yii controllers.
public static dumpAsString ( $var, $depth = 10, $highlight = false ) : string
return string the string representation of the variable