FixedTimeProvider
    
            
            in package
            
        
    
            
            implements
                            TimeProviderInterface                    
    
    
        
            FixedTimeProvider uses an known time to provide the time
This provider allows the use of a previously-generated, or known, time when generating time-based UUIDs.
Interfaces, Classes, Traits and Enums
- TimeProviderInterface
- A time provider retrieves the current time
Table of Contents
- $fixedTime : Time
- __construct() : mixed
- getTime() : Time
- Returns a time object
- setSec() : void
- Sets the `sec` component of the time
- setUsec() : void
- Sets the `usec` component of the time
Properties
$fixedTime
    private
        Time
    $fixedTime
    
    
    
    
Methods
__construct()
    public
                    __construct(Time $time) : mixed
        
        Parameters
- $time : Time
Return values
mixed —getTime()
Returns a time object
    public
                    getTime() : Time
    
    
    
        Return values
Time —setSec()
Sets the `sec` component of the time
    public
                    setSec(int|string|Integer $value) : void
    
        Parameters
- $value : int|string|Integer
- 
                    The secvalue to set
Return values
void —setUsec()
Sets the `usec` component of the time
    public
                    setUsec(int|string|Integer $value) : void
    
        Parameters
- $value : int|string|Integer
- 
                    The usecvalue to set