PHP Class Pimcore\Tool\StopWatch

Afficher le fichier Open project: pimcore/pimcore Class Usage Examples

Protected Properties

Свойство Type Description
$laps array
$startTime array

Méthodes publiques

Méthode Description
display ( boolean $html = false, string $component = 'default' ) : void
getTime ( boolean $html = false, string $component = 'default' ) : string
lap ( $label, string $component = 'default' ) : void
microtime_float ( ) : float
start ( $component = 'default' ) : void

Method Details

display() public static méthode

public static display ( boolean $html = false, string $component = 'default' ) : void
$html boolean
$component string
Résultat void

getTime() public static méthode

public static getTime ( boolean $html = false, string $component = 'default' ) : string
$html boolean
$component string
Résultat string

lap() public static méthode

public static lap ( $label, string $component = 'default' ) : void
$label
$component string
Résultat void

microtime_float() public static méthode

public static microtime_float ( ) : float
Résultat float

start() public static méthode

public static start ( $component = 'default' ) : void
$component string
Résultat void

Property Details

$laps protected_oe static_oe property

protected static array $laps
Résultat array

$startTime protected_oe static_oe property

protected static array $startTime
Résultat array