abstract class FilesLoader in Plug 7
Same name in this branch
- 7 lib/Symfony/validator/Symfony/Component/Validator/Tests/Fixtures/FilesLoader.php \Symfony\Component\Validator\Tests\Fixtures\FilesLoader
- 7 lib/Symfony/validator/Symfony/Component/Validator/Mapping/Loader/FilesLoader.php \Symfony\Component\Validator\Mapping\Loader\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
- lib/
Symfony/ validator/ Symfony/ Component/ 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:: |