diff --git a/src/Filesystem/MountList.php b/src/Filesystem/MountList.php deleted file mode 100644 index 08da57901e..0000000000 --- a/src/Filesystem/MountList.php +++ /dev/null @@ -1,45 +0,0 @@ -environment = $environment; - $this->directory = $directory; - } - - /** - * @return string[] - */ - public function getMountedDirectories(): array - { - $appData = $this->environment->getApplication(); - - $mountsFull = $appData['mounts']; - - // Remove the metadata and only return the paths. - $mountsSlash = array_keys($mountsFull); - - // Change the mount path strings with a leading slash into absolute path strings. - return array_map(function ($mount) { - return $this->directory->getMagentoRoot() . $mount; - }, $mountsSlash); - } -}