first commit

This commit is contained in:
2026-03-05 13:07:40 +01:00
commit 64ba0721ee
25709 changed files with 4691006 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
{
"name": "psr\/clock",
"description": "Common interface for reading the clock.",
"keywords": [
"psr",
"psr-20",
"time",
"clock",
"now"
],
"homepage": "https:\/\/github.com\/php-fig\/clock",
"license": "MIT",
"authors": [
{
"name": "PHP-FIG",
"homepage": "https:\/\/www.php-fig.org\/"
}
],
"require": {
"php": "^7.0 || ^8.0"
},
"autoload": {
"psr-4": {
"WPDeskWCInvoicesVendor\\Psr\\Clock\\": "src\/"
}
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace WPDeskWCInvoicesVendor\Psr\Clock;
use DateTimeImmutable;
interface ClockInterface
{
/**
* Returns the current time as a DateTimeImmutable Object
*/
public function now() : \DateTimeImmutable;
}