whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
amphp
/
sync
/
src
/
Upload File:
files >> /home/kckglobal/www/portal/vendor/amphp/sync/src/PrefixedKeyedSemaphore.php
<?php namespace Amp\Sync; use Amp\Promise; final class PrefixedKeyedSemaphore implements KeyedSemaphore { /** @var KeyedSemaphore */ private $semaphore; /** @var string */ private $prefix; public function __construct(KeyedSemaphore $semaphore, string $prefix) { $this->semaphore = $semaphore; $this->prefix = $prefix; } public function acquire(string $key): Promise { return $this->semaphore->acquire($this->prefix . $key); } }
Copyright ©2021 || Defacer Indonesia