reactphp-x/single

v1.0.0 2024-08-10 00:59 UTC

This package is auto-updated.

Last update: 2024-09-10 02:15:58 UTC


README

安装

composer require reactphp-framwork/single -vvv

使用

<?php

class ProcessManager 
{
    use \ReactphpX\Single\Single;
}

ProcessManager::instance()->foo();

ProcessManager::instance('custome_key')->foo();

许可证

MIT