文件操作 - AMQPLazySocketConnection.php
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/php/PhpAmqpLib/Connection/AMQPLazySocketConnection.php
编辑文件内容
<?php namespace PhpAmqpLib\Connection; /** * @deprecated AMQPSocketConnection can be lazy too. Use AMQPConnectionFactory with AMQPConnectionConfig::setIsLazy(true) */ class AMQPLazySocketConnection extends AMQPSocketConnection { /** * @inheritDoc */ public function connectOnConstruct(): bool { return false; } /** * @param string[][] $hosts * @param string[] $options * @return self * @throws \Exception * @deprecated Use ConnectionFactory */ public static function create_connection($hosts, $options = array()) { if (count($hosts) > 1) { throw new \RuntimeException('Lazy connection does not support multiple hosts'); } return parent::create_connection($hosts, $options); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件