Skip to content

Instantly share code, notes, and snippets.

View jeckel's full-sized avatar
🐧
Freelance (Available for new projects)

Julien Mercier-Rojas jeckel

🐧
Freelance (Available for new projects)
View GitHub Profile
@jeckel
jeckel / Locale.php
Last active October 29, 2023 14:48 — forked from heiglandreas/index.php
Locale Value Object
<?php
namespace ValueObject;
use ResourceBundle;
use Stringable;
final readonly class Locale implements Stringable
{
private function __construct(public string $locale) {}