reactphp-x/single

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

This package is auto-updated.

Last update: 2024-12-10 02:52:07 UTC


README

install

composer require reactphp-framwork/single -vvv

usage

<?php

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

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

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

License

MIT