abstract class FilesLoader in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/validator/Tests/Fixtures/FilesLoader.php \Symfony\Component\Validator\Tests\Fixtures\FilesLoader
- 8 vendor/symfony/validator/Mapping/Loader/FilesLoader.php \Symfony\Component\Validator\Mapping\Loader\FilesLoader
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Fixtures/FilesLoader.php \Symfony\Component\Validator\Tests\Fixtures\FilesLoader
Hierarchy
- class \Symfony\Component\Validator\Mapping\Loader\LoaderChain implements LoaderInterface
- class \Symfony\Component\Validator\Mapping\Loader\FilesLoader
- class \Symfony\Component\Validator\Tests\Fixtures\FilesLoader
- class \Symfony\Component\Validator\Mapping\Loader\FilesLoader
Expanded class hierarchy of FilesLoader
File
- vendor/
symfony/ validator/ Tests/ Fixtures/ FilesLoader.php, line 17
Namespace
Symfony\Component\Validator\Tests\FixturesView source
abstract class FilesLoader extends BaseFilesLoader {
protected $timesCalled = 0;
protected $loader;
public function __construct(array $paths, LoaderInterface $loader) {
$this->loader = $loader;
parent::__construct($paths);
}
protected function getFileLoaderInstance($file) {
++$this->timesCalled;
return $this->loader;
}
public function getTimesCalled() {
return $this->timesCalled;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FilesLoader:: |
protected | property | ||
FilesLoader:: |
protected | property | ||
FilesLoader:: |
protected | function |
Creates a loader for the given file path. Overrides FilesLoader:: |
|
FilesLoader:: |
protected | function | Returns an array of file loaders for the given file paths. | |
FilesLoader:: |
public | function | ||
FilesLoader:: |
public | function |
Creates a new loader. Overrides FilesLoader:: |
|
LoaderChain:: |
protected | property | ||
LoaderChain:: |
public | function |
Loads validation metadata into a {@link ClassMetadata} instance. Overrides LoaderInterface:: |