New in Symfony 4.2: PDO-based lock storage

Contributed by Jérémy Derussé in #27456. The Lock component was introduced in Symfony 3.4 to create and manage locks, a mechanism to provide exclusive access to a shared resource. Out of the box it supports different storages for local locks (files, semaphores) and distributed locks (Memcache, Redis). In Symfony 4.2 we’ve added a new PDO-based…