StandardTimer
class StandardTimer implements TimerInterface
Methods
                    __construct()
        
                                            
                
            Empty constructor for forward compatibility.
                    start()
        
                                            
                
            Starts the timer.
                    stop()
        
                                            
                
            Stops the timer.
                    bool
                
                
                    isRunning()
        
                                            
                
            Returns true if the timer is currently running.
                    float|null
                
                
                    getDuration()
        
                                            
                
            Returns the time (in seconds) the timer ran.
Details
        at         line 37
                            
    __construct()
        
    
    Empty constructor for forward compatibility.
        at         line 44
                            
    start()
        
    
    Starts the timer.
        at         line 56
                            
    stop()
        
    
    Stops the timer.
        at         line 70
                            bool
    isRunning()
        
    
    Returns true if the timer is currently running.
        at         line 82
                            float|null
    getDuration()
        
    
    Returns the time (in seconds) the timer ran.
Returns null if no time has been recorded.