function Filesystem::toIterable
7 calls to Filesystem::toIterable()
- Filesystem::chgrp in vendor/
symfony/ filesystem/ Filesystem.php - Change the group of an array of files or directories.
- Filesystem::chmod in vendor/
symfony/ filesystem/ Filesystem.php - Change mode for an array of files or directories.
- Filesystem::chown in vendor/
symfony/ filesystem/ Filesystem.php - Change the owner of an array of files or directories.
- Filesystem::exists in vendor/
symfony/ filesystem/ Filesystem.php - Checks the existence of files or directories.
- Filesystem::hardlink in vendor/
symfony/ filesystem/ Filesystem.php - Creates a hard link, or several hard links to a file.
File
-
vendor/
symfony/ filesystem/ Filesystem.php, line 731
Class
- Filesystem
- Provides basic utility to manipulate the file system.
Namespace
Symfony\Component\FilesystemCode
private function toIterable(string|iterable $files) : iterable {
return is_iterable($files) ? $files : [
$files,
];
}