PHP 8.2.31
Preview: Lock.php Size: 905 B
/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/illuminate/contracts/Cache/Lock.php

<?php

namespace RectorPrefix202411\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
     *
     * @throws \Illuminate\Contracts\Cache\LockTimeoutException
     */
    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();
}

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
282 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
905 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
583 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
136 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.86 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.86 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).