protected function resolveTimerFromName(string $name = null): TimerContract
    {
        $id = \is_null($name) ? \uniqid() : $name;

        if (isset($this->timers[$id])) {
            return $this->timers[$id];
        }

        return $this->createTimer($name, constant('LARAVEL_START'));
    }
protected function resolveTimerFromName(string $name = null): TimerContract
    {
        $id = \is_null($name) ? \uniqid() : $name;

        if (isset($this->timers[$id])) {
            return $this->timers[$id];
        }

        return $this->createTimer($name, constant('LARAVEL_START'));
    }
protected function resolveTimerFromName ( string $ name = null ) : TimerContract { $ id = \ is_null ( $ name ) ? \ uniqid ( ) : $ name ; if ( isset ( $ this -> timers [ $ id ] ) ) { return $ this -> timers [ $ id ] ; } return $ this -> createTimer ( $ name , constant ( 'LARAVEL_START' ) ) ; }
Resolve timer from name.

@param  string|null $name

@return \Laravie\Profiler\Contracts\Timer
Resolve timer from name .