protected function createTimer(string $name, $startedAt, string $message = null): TimerContract
    {
        return (new Timer($name, $startedAt, $message))->setLogger($this->getLogger());
    }
protected function createTimer(string $name, $startedAt, string $message = null): TimerContract
    {
        return (new Timer($name, $startedAt, $message))->setLogger($this->getLogger());
    }
protected function createTimer ( string $ name , $ startedAt , string $ message = null ) : TimerContract { return ( new Timer ( $ name , $ startedAt , $ message ) ) -> setLogger ( $ this -> getLogger ( ) ) ; }
Create a new timer.

@param string  $name
@param int|float  $startedAt
@param string|null  $message

@return \Laravie\Profiler\Contracts\Timer
Create a new timer .