Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
212
/
root
/
srv
/
data
/
web
/
vhosts
/
www.impressionrapide.fr
/
htdocs
/
vendor
/
symfony
/
lock
/
//proc/212/root/srv/data/web/vhosts/www.impressionrapide.fr/htdocs/vendor/symfony/lock/NoLock.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Lock; /** * A non locking lock. * * This can be used to disable locking in classes * requiring a lock. * * @author Wouter de Jong <wouter@wouterj.nl> */ final class NoLock implements LockInterface { public function acquire(bool $blocking = false): bool { return true; } public function refresh(float $ttl = null) { } public function isAcquired(): bool { return true; } public function release() { } public function isExpired(): bool { return false; } public function getRemainingLifetime(): ?float { return null; } }