PHP Класс Pimcore\Tool\StopWatch

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$laps array
$startTime array

Открытые методы

Метод Описание
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

Описание методов

display() публичный статический Метод

public static display ( boolean $html = false, string $component = 'default' ) : void
$html boolean
$component string
Результат void

getTime() публичный статический Метод

public static getTime ( boolean $html = false, string $component = 'default' ) : string
$html boolean
$component string
Результат string

lap() публичный статический Метод

public static lap ( $label, string $component = 'default' ) : void
$label
$component string
Результат void

microtime_float() публичный статический Метод

public static microtime_float ( ) : float
Результат float

start() публичный статический Метод

public static start ( $component = 'default' ) : void
$component string
Результат void

Описание свойств

$laps защищенное статическое свойство

protected static array $laps
Результат array

$startTime защищенное статическое свойство

protected static array $startTime
Результат array