【发布时间】:2020-05-21 21:03:46
【问题描述】:
如何通过 Symfony Filesystem component 获取文件内容?
我正在寻找 copy 和 mirror 方法 - 但它们需要字符串作为路径作为参数...
在php中是替代的,原生函数file_get_contents()。
有没有办法通过组件获取内容?还是我应该使用原生 php 函数?
或者我看不到的东西?
【问题讨论】:
标签: php symfony filesystems components file-get-contents