PHP Class Metabor\Semaphore\MutexFactory

Inheritance: implements MetaborStd\Semaphore\MutexFactoryInterface
Mostra file Open project: metabor/statemachine

Public Methods

Method Description
__construct ( MetaborStd\Semaphore\LockAdapterInterface $lockAdapter, MetaborStd\StringConverterInterface $stringConverter )
createMutex ( $subject ) : MetaborStd\Semaphore\MutexInterface

Method Details

__construct() public method

public __construct ( MetaborStd\Semaphore\LockAdapterInterface $lockAdapter, MetaborStd\StringConverterInterface $stringConverter )
$lockAdapter MetaborStd\Semaphore\LockAdapterInterface
$stringConverter MetaborStd\StringConverterInterface

createMutex() public method

public createMutex ( $subject ) : MetaborStd\Semaphore\MutexInterface
$subject
return MetaborStd\Semaphore\MutexInterface