PHP 인터페이스 Eloquent\Phony\Exporter\Exporter

파일 보기 프로젝트 열기: eloquent/phony 0 사용 예제들

공개 메소드들

메소드 설명
export ( &$value, integer | null $depth = null ) : string Export the supplied value.
exportCallable ( callable $callback ) : string Export a string representation of a callable value.
setDepth ( integer $depth ) : integer Set the default depth.

메소드 상세

export() 공개 메소드

Negative depths are treated as infinite depth.
public export ( &$value, integer | null $depth = null ) : string
$depth integer | null The depth, or null to use the default.
리턴 string The exported value.

exportCallable() 공개 메소드

Export a string representation of a callable value.
public exportCallable ( callable $callback ) : string
$callback callable The callable.
리턴 string The exported callable.

setDepth() 공개 메소드

Negative depths are treated as infinite depth.
public setDepth ( integer $depth ) : integer
$depth integer The depth.
리턴 integer The previous depth.