reactphp-x/single

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

This package is auto-updated.

Last update: 2024-11-10 02:40:02 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