<?php
namespace Illuminate\Support;
use WeakMap;
class Once
{
protected static ?self $instance = null;
protected static bool $enabled = true;
protected function __construct(protected WeakMap $values)
{
}
public static function instance()
{
return static::$instance ??= new static(new WeakMap);
}