You are here

public function FilesLoader::__construct in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/validator/Tests/Fixtures/FilesLoader.php \Symfony\Component\Validator\Tests\Fixtures\FilesLoader::__construct()
  2. 8 vendor/symfony/validator/Mapping/Loader/FilesLoader.php \Symfony\Component\Validator\Mapping\Loader\FilesLoader::__construct()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Mapping/Loader/FilesLoader.php \Symfony\Component\Validator\Mapping\Loader\FilesLoader::__construct()

Creates a new loader.

Parameters

array $paths An array of file paths:

Overrides LoaderChain::__construct

1 call to FilesLoader::__construct()
FilesLoader::__construct in vendor/symfony/validator/Tests/Fixtures/FilesLoader.php
Creates a new loader.
1 method overrides FilesLoader::__construct()
FilesLoader::__construct in vendor/symfony/validator/Tests/Fixtures/FilesLoader.php
Creates a new loader.

File

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

Class

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

Namespace

Symfony\Component\Validator\Mapping\Loader

Code

public function __construct(array $paths) {
  parent::__construct($this
    ->getFileLoaders($paths));
}