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 FilesLoader::__construct

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php, line 22

Class

FilesLoader

Namespace

Symfony\Component\Validator\Tests\Fixtures

Code

public function __construct(array $paths, LoaderInterface $loader) {
  $this->loader = $loader;
  parent::__construct($paths);
}