Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法disconnect()在ftp- adapter(存储库)?
disconnect()
我做这样的事情:
$ftp = Storage::disk('ftp'); $ftp->makeDirectory('test'); $ftp->disconnect(); // this does not work...
有人有想法吗?
如果您想调用该disconnect()方法,您应该能够:
$ftp->getDriver()->getAdapter()->disconnect();
希望这可以帮助!