protected function setTime($token, $time = 0)
    {
        if ($time == 0) {
            $time = time();
        }

        $this->timer[$token] = $time;
    }
protected function setTime($token, $time = 0)
    {
        if ($time == 0) {
            $time = time();
        }

        $this->timer[$token] = $time;
    }
protected function setTime ( $ token , $ time = 0 ) { if ( $ time == 0 ) { $ time = time ( ) ; } $ this -> timer [ $ token ] = $ time ; }
Saves a time next to a token.
This can be use to measure import tasks.

@param string $token A free chosen token. e.g. starttime, endtime, ...
@param int $time A timestamp or another time identifier
@return void
Saves a time next to a token . This can be use to measure import tasks .