PHP Class Lsrur\Inspector\Collectors\BaseCollector

Mostrar archivo Open project: lsrur/inspector

Public Properties

Property Type Description
$showCounter
$title

Protected Methods

Method Description
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 )

Method Details

cl() protected method

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

clGroup() protected method

protected clGroup ( $name )

clGroupEnd() protected method

protected clGroupEnd ( )

clTable() protected method

protected clTable ( $data )

count() abstract protected method

abstract protected count ( )

e() protected method

Escape quotes
protected e ( string $str ) : string
$str string
return string

genericToScript() protected method

protected genericToScript ( $data )

get() abstract protected method

abstract protected get ( )

getPreJson() abstract protected method

abstract protected getPreJson ( )

getScript() abstract protected method

abstract protected getScript ( )

getSourceCode() protected method

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

getTrace() protected method

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

removeSrc() protected method

protected removeSrc ( &$items )

Property Details

$showCounter public_oe property

public $showCounter

$title public_oe property

public $title