PHP 클래스 Doctrine\Common\Util\Debug

부터: 2.0
저자: Guilherme Blanco ([email protected])
저자: Jonathan Wage ([email protected])
저자: Roman Borschel ([email protected])
저자: Giorgio Sironi ([email protected])
파일 보기 프로젝트 열기: doctrine/common 1 사용 예제들

공개 메소드들

메소드 설명
dump ( mixed $var, integer $maxDepth = 2, boolean $stripTags = true, boolean $echo = true ) : string Prints a dump of the public, protected and private properties of $var.
export ( mixed $var, integer $maxDepth ) : mixed
toString ( object $obj ) : string Returns a string representation of an object.

비공개 메소드들

메소드 설명
__construct ( ) Private constructor (prevents instantiation).
fillReturnWithClassAttributes ( object $var, stdClass $return, integer $maxDepth ) : mixed Fill the $return variable with class attributes

메소드 상세

dump() 공개 정적인 메소드

Prints a dump of the public, protected and private properties of $var.
public static dump ( mixed $var, integer $maxDepth = 2, boolean $stripTags = true, boolean $echo = true ) : string
$var mixed The variable to dump.
$maxDepth integer The maximum nesting level for object properties.
$stripTags boolean Whether output should strip HTML tags.
$echo boolean Send the dumped value to the output buffer
리턴 string

export() 공개 정적인 메소드

public static export ( mixed $var, integer $maxDepth ) : mixed
$var mixed
$maxDepth integer
리턴 mixed

toString() 공개 정적인 메소드

Returns a string representation of an object.
public static toString ( object $obj ) : string
$obj object
리턴 string