Metabor\Semaphore\MutexFactory::createMutex PHP Method

createMutex() public method

public createMutex ( $subject ) : MetaborStd\Semaphore\MutexInterface
$subject
return MetaborStd\Semaphore\MutexInterface
    public function createMutex($subject)
    {
        return new LockAdapterMutex($this->lockAdapter, $this->stringConverter->convertToString($subject));
    }