PHP Class Pimcore\Tool\StopWatch

Mostra file Open project: pimcore/pimcore Class Usage Examples

Protected Properties

Property Type Description
$laps array
$startTime array

Public Methods

Method 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 method

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

getTime() public static method

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

lap() public static method

public static lap ( $label, string $component = 'default' ) : void
$label
$component string
return void

microtime_float() public static method

public static microtime_float ( ) : float
return float

start() public static method

public static start ( $component = 'default' ) : void
$component string
return void

Property Details

$laps protected_oe static_oe property

protected static array $laps
return array

$startTime protected_oe static_oe property

protected static array $startTime
return array