Upgrade framework

This commit is contained in:
mischa.spelt committed 2023-11-14 16:54:35 +01:00
1 parent 1648a5cd42
commit 4fcf6fffcc
10548 files changed
+693131 -466691

No files matched your search

+8 -9
View File
@@ -1,4 +1,5 @@
<?php
/**
* This file is part of the ramsey/uuid library
*
@@ -7,23 +8,21 @@
*
* @copyright Copyright (c) Ben Ramsey <ben@benramsey.com>
* @license http://opensource.org/licenses/MIT MIT
* @link https://benramsey.com/projects/ramsey-uuid/ Documentation
* @link https://packagist.org/packages/ramsey/uuid Packagist
* @link https://github.com/ramsey/uuid GitHub
*/
declare(strict_types=1);
namespace Ramsey\Uuid\Provider;
use Ramsey\Uuid\Type\Time;
/**
* TimeProviderInterface provides functionality to get the time from a specific
* type of time provider
* A time provider retrieves the current time
*/
interface TimeProviderInterface
{
/**
* Returns a timestamp array
*
* @return int[] Array guaranteed to contain `sec` and `usec` components of a timestamp
* Returns a time object
*/
public function currentTime();
public function getTime(): Time;
}