Backend

Backend of the lock subsystem is a class extending the abstract class Jet\Lock_Backend. An instance of this class always represents a specific lock. In other words, each lock has its own backend instance.

There are two types of backends standard in PHP Jet: Jet\Lock_Backend_File and Jet\Lock_Backend_MariaDB. But of course, you can create any custom implementation as needed.

Previous chapter
Jet\Lock
Next chapter
Jet\Lock_Backend