Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Filesystem.php

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.

... See full list

File

vendor/symfony/filesystem/Filesystem.php, line 731

Class

Filesystem
Provides basic utility to manipulate the file system.

Namespace

Symfony\Component\Filesystem

Code

private function toIterable(string|iterable $files) : iterable {
    return is_iterable($files) ? $files : [
        $files,
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal