public function timeEnd($name = null): void
    {
        $timer = $name instanceof TimerContract ? $name : $this->resolveTimerFromName($name);

        $timer->end();
    }
public function timeEnd($name = null): void
    {
        $timer = $name instanceof TimerContract ? $name : $this->resolveTimerFromName($name);

        $timer->end();
    }
public function timeEnd ( $ name = null ) : void { $ timer = $ name instanceof TimerContract ? $ name : $ this -> resolveTimerFromName ( $ name ) ; $ timer -> end ( ) ; }
Calculate timed taken for a process to complete.

@param  \Laravie\Profiler\Contracts\Timer|string|null  $name

@return void
Calculate timed taken for a process to complete .