mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
84123b2060
Defers all environment related decisions to factory initialization All behavior is customizable through DI, but all deps are initialized to proper default instances Removes static factory configuration
12 lines
212 B
PHP
12 lines
212 B
PHP
<?php
|
|
|
|
namespace Rhumsaa\Uuid;
|
|
|
|
interface TimeProvider
|
|
{
|
|
/**
|
|
* @return string[] Array guaranteed to contain "sec" and "usec" components of current timestamp.
|
|
*/
|
|
public function currentTime();
|
|
}
|