From 714dfb5d6df7d7a13516f3d6e0c396266571f56b Mon Sep 17 00:00:00 2001 From: OMAHM Date: Thu, 17 Nov 2022 12:58:20 +0000 Subject: [PATCH] FS method to return the contents of a given path --- src/FilesystemInterface.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/FilesystemInterface.php b/src/FilesystemInterface.php index b7f2bd3..5779ea6 100644 --- a/src/FilesystemInterface.php +++ b/src/FilesystemInterface.php @@ -75,6 +75,14 @@ public function copyDirectory($path, $destination); */ public function createDirectory($path); + /** + * Return the contents of a path. + * + * @param string $path + * The path to retrieve a list of contents. + */ + public function pathContents($path); + /** * Create a symlink. *