PHP Class Lsrur\Inspector\Collectors\BaseCollector

Afficher le fichier Open project: lsrur/inspector

Méthodes publiques

Свойство Type Description
$showCounter
$title

Méthodes protégées

Méthode 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 méthode

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

clGroup() protected méthode

protected clGroup ( $name )

clGroupEnd() protected méthode

protected clGroupEnd ( )

clTable() protected méthode

protected clTable ( $data )

count() abstract protected méthode

abstract protected count ( )

e() protected méthode

Escape quotes
protected e ( string $str ) : string
$str string
Résultat string

genericToScript() protected méthode

protected genericToScript ( $data )

get() abstract protected méthode

abstract protected get ( )

getPreJson() abstract protected méthode

abstract protected getPreJson ( )

getScript() abstract protected méthode

abstract protected getScript ( )

getSourceCode() protected méthode

Extract source code file
protected getSourceCode ( array $files ) : array
$files array
Résultat array

getTrace() protected méthode

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

removeSrc() protected méthode

protected removeSrc ( &$items )

Property Details

$showCounter public_oe property

public $showCounter

$title public_oe property

public $title