PHP 클래스 Lsrur\Inspector\Collectors\BaseCollector

파일 보기 프로젝트 열기: lsrur/inspector

공개 프로퍼티들

프로퍼티 타입 설명
$showCounter
$title

보호된 메소드들

메소드 설명
cl ( string $cmd, string $title, mixed $data ) : string "Console log" helper
clGroup ( $name )
clGroupEnd ( )
clTable ( $data )
count ( )
e ( string $str ) : string Escape quotes
genericToScript ( $data )
get ( )
getPreJson ( )
getScript ( )
getSourceCode ( array $files ) : array Extract source code file
getTrace ( integer $steps = 3 ) : string Return file and line number
removeSrc ( &$items )

메소드 상세

cl() 보호된 메소드

"Console log" helper
protected cl ( string $cmd, string $title, mixed $data ) : string
$cmd string
$title string
$data mixed
리턴 string

clGroup() 보호된 메소드

protected clGroup ( $name )

clGroupEnd() 보호된 메소드

protected clGroupEnd ( )

clTable() 보호된 메소드

protected clTable ( $data )

count() 추상적인 보호된 메소드

abstract protected count ( )

e() 보호된 메소드

Escape quotes
protected e ( string $str ) : string
$str string
리턴 string

genericToScript() 보호된 메소드

protected genericToScript ( $data )

get() 추상적인 보호된 메소드

abstract protected get ( )

getPreJson() 추상적인 보호된 메소드

abstract protected getPreJson ( )

getScript() 추상적인 보호된 메소드

abstract protected getScript ( )

getSourceCode() 보호된 메소드

Extract source code file
protected getSourceCode ( array $files ) : array
$files array
리턴 array

getTrace() 보호된 메소드

Return file and line number
protected getTrace ( integer $steps = 3 ) : string
$steps integer
리턴 string

removeSrc() 보호된 메소드

protected removeSrc ( &$items )

프로퍼티 상세

$showCounter 공개적으로 프로퍼티

public $showCounter

$title 공개적으로 프로퍼티

public $title