Elgg\Timer::begin PHP Method

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();
    }