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

Breadcrumb

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

function FilesLoader::getFileLoaders

Returns an array of file loaders for the given file paths.

Return value

LoaderInterface[]

1 call to FilesLoader::getFileLoaders()
FilesLoader::__construct in vendor/symfony/validator/Mapping/Loader/FilesLoader.php
Creates a new loader.

File

vendor/symfony/validator/Mapping/Loader/FilesLoader.php, line 40

Class

FilesLoader
Base loader for loading validation metadata from a list of files.

Namespace

Symfony\Component\Validator\Mapping\Loader

Code

protected function getFileLoaders(array $paths) : array {
    $loaders = [];
    foreach ($paths as $path) {
        $loaders[] = $this->getFileLoaderInstance($path);
    }
    return $loaders;
}

API Navigation

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