Download the PHP package paysera/lib-lock-bundle without Composer
On this page you can find all versions of the php package paysera/lib-lock-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download paysera/lib-lock-bundle
More information about paysera/lib-lock-bundle
Files in paysera/lib-lock-bundle
Download paysera/lib-lock-bundle
More information about paysera/lib-lock-bundle
Files in paysera/lib-lock-bundle
Vendor paysera
Package lib-lock-bundle
Short Description Provides utilities to organize Locks in your system
License MIT
Package lib-lock-bundle
Short Description Provides utilities to organize Locks in your system
License MIT
Please rate this library. Is it a good library?
Informations about the package lib-lock-bundle
lib-lock-bundle
Provides quick integration with symfony/lock
Installation
-
Install package
- Enable bundle
Configuration
ttl
- time for locks TTL in seconds, default 5 seconds.
redis_client
- service id for any Redis
client service supported by symfony/lock
Usage
LockManager::createLock($identifier)
- creates lock but not acquires itLockManager::acquire($lock)
- acquires lock or throwsLockAcquiringException
on failureLockManager::createAccuired($identifier)
- creates acquired lock or throwsLockAcquiringException
LockManager::release($lock)
- releases lock
Example
OR
All versions of lib-lock-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1
symfony/lock Version ^v3.4 || ^4.4 || ^5.4
symfony/config Version ^3.0 || ^4.0 || ^5.0
symfony/dependency-injection Version ^3.0 || ^4.0 || ^5.0
symfony/http-kernel Version ^3.0 || ^4.0 || ^5.0
symfony/yaml Version ^4.0 || ^5.0 || ^6.0 || ^7.0
symfony/console Version ^4.4 || ^5.3 || ^6.0
symfony/lock Version ^v3.4 || ^4.4 || ^5.4
symfony/config Version ^3.0 || ^4.0 || ^5.0
symfony/dependency-injection Version ^3.0 || ^4.0 || ^5.0
symfony/http-kernel Version ^3.0 || ^4.0 || ^5.0
symfony/yaml Version ^4.0 || ^5.0 || ^6.0 || ^7.0
symfony/console Version ^4.4 || ^5.3 || ^6.0
The package paysera/lib-lock-bundle contains the following files
Loading the files please wait ....