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

Breadcrumb

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

function YamlFilesLoader::getFileLoaderInstance

Overrides FilesLoader::getFileLoaderInstance

File

vendor/symfony/validator/Mapping/Loader/YamlFilesLoader.php, line 24

Class

YamlFilesLoader
Loads validation metadata from a list of YAML files.

Namespace

Symfony\Component\Validator\Mapping\Loader

Code

public function getFileLoaderInstance(string $file) : LoaderInterface {
    return new YamlFileLoader($file);
}

API Navigation

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