📌  相关文章
📜  如何在 laravel Blade 中打印数组 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:52.880000             🧑  作者: Mango

代码示例7
class WatchController extends Controller
{
    public function index(\Illuminate\Filesystem\Filesystem $filesystem)
    {
        $files = $filesystem->allFiles($watchFolderPath);

        // Your code.

        return view('name', ['files' => $files]);
    }
}