Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Elgg
Timer
begin
Elgg\Timer::begin PHP Method
Timer Class Documentation
Show file
Open project: elgg/elgg
begin()
public
method
Record the start time of a period
public
begin
(
array
$keys
) :
void
$keys
array
Keys to identify period. E.g. ['startup', __FUNCTION__]
return
void
public function begin(array $keys) { $this->getTreeNode($keys)[self::MARKER_BEGIN] = microtime(); }
Timer
begin
end
getTimes
getTreeNode
hasEnded