reactphp-x/single

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

This package is auto-updated.

Last update: 2024-10-10 02:26:55 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