![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/rector/rector/vendor/illuminate/contracts/Cache/ |
<?php namespace RectorPrefix202308\Illuminate\Contracts\Cache; interface Lock { /** * Attempt to acquire the lock. * * @param callable|null $callback * @return mixed */ public function get($callback = null); /** * Attempt to acquire the lock for the given number of seconds. * * @param int $seconds * @param callable|null $callback * @return mixed */ public function block($seconds, $callback = null); /** * Release the lock. * * @return bool */ public function release(); /** * Returns the current owner of the lock. * * @return string */ public function owner(); /** * Releases this lock in disregard of ownership. * * @return void */ public function forceRelease(); }