method start documentation in bbn\Util\Timer

Starts a timer for a given key

function(string $key = 'default', $from = NULL) { if (!isset($this->_measures[$key])) { $this->_measures[$key] = [ 'num' => 0, 'sum' => 0, 'start' => $from ?: microtime(1) ]; } else { $this->_measures[$key]['start'] = $from ?: microtime(1); } return true; }

Starts a timer for a given key BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.