You are here

public function FilesLoader::__construct in Plug 7

Same name in this branch
  1. 7 lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php \Symfony\Component\Validator\Tests\Fixtures\FilesLoader::__construct()
  2. 7 lib/Symfony/validator/Symfony/Component/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 lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php
Creates a new loader.
1 method overrides FilesLoader::__construct()
FilesLoader::__construct in lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php
Creates a new loader.

File

lib/Symfony/validator/Symfony/Component/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));
}