Re: [RFC] Time\Instant and Time\Clock
| From: | Tim Düsterhus | Date: | Mon, 02 Nov 2026 18:32:43 +0000 |
| Subject: | Re: [RFC] Time\Instant and Time\Clock | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-132991@lists.php.net to get a copy of this message | ||
Hi
On 2026-10-07 12:04, Tim Düsterhus wrote:
We have now made theSomething I forgot doing then, but I did now: SystemClock is now marked asSystemClocka singleton with aSystemClock::get()factory / getter. The constructor is private now.
@not-serializable, because well, it is not supposed to be serialized as a singleton.
Best regards
Tim Dsüterhus