文件操作 - Lock.php
返回文件管理
返回主菜单
删除本文件
文件: /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(); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件