flysystem-memory:Flysystem内存适配器

时间:2021-05-15 21:10:45
【文件属性】:
文件名称:flysystem-memory:Flysystem内存适配器
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-15 21:10:45
php flysystem-adapter PHP Flysystem内存适配器 该适配器将文件系统保留在内存中。 当您需要文件系统但不需要持久化时,它很有用。 安装 composer require league/flysystem-memory 用法 use League \ Flysystem \ Filesystem ; use League \ Flysystem \ Memory \ MemoryAdapter ; $ filesystem = new Filesystem ( new MemoryAdapter ()); $ filesystem -> write ( 'new_file.txt' , 'yay a new text file!' ); $ contents = $ filesystem -> read ( 'new_file.txt' ); // Explicitly set timestamp (e.g
【文件预览】:
flysystem-memory-master
----src()
--------MemoryAdapter.php(8KB)
----.php_cs(815B)
----LICENSE(1KB)
----README.md(2KB)
----composer.json(828B)

网友评论