0 follower

Yii Framework 3.0 API Documentation

This is the Yii Framework API Documentation. Here you will find detailed information about all classes provided by the Framework. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.

On this page you find all the classes included in version 3.0 of the framework. You can use the dropdown menu on the top right to switch between versions.

You can search API documentation using the search form on the top. You can search for class names and also method and property names, e.g. ActiveRecord.save() or just .save() or ::save().

This page is also available in JSON format:
curl https://www.yiiframework.com/doc/api/3.0/mutex -H 'Accept: application/json'

Class Description
Yiisoft\Mutex\Exception\MutexLockedException
Yiisoft\Mutex\Exception\MutexReleaseException
Yiisoft\Mutex\Mutex Provides basic functionality for creating drivers.
Yiisoft\Mutex\MutexFactory Creates a mutex instance.
Yiisoft\Mutex\MutexFactoryInterface Allows you to create a mutex instance.
Yiisoft\Mutex\MutexInterface The Mutex allows mutual execution of concurrent processes in order to prevent "race conditions".
Yiisoft\Mutex\RetryAcquireTrait Allows retrying acquire with a certain timeout.
Yiisoft\Mutex\SimpleMutex Simplest way to use mutex:
Yiisoft\Mutex\Synchronizer Executes a callback in synchronized mode, i.e. only a single instance of the callback is executed at the same time: