You are here

abstract class FilesLoader in Zircon Profile 8

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

Hierarchy

Expanded class hierarchy of FilesLoader

File

vendor/symfony/validator/Tests/Fixtures/FilesLoader.php, line 17

Namespace

Symfony\Component\Validator\Tests\Fixtures
View 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

Namesort descending Modifiers Type Description Overrides
FilesLoader::$loader protected property
FilesLoader::$timesCalled protected property
FilesLoader::getFileLoaderInstance protected function Creates a loader for the given file path. Overrides FilesLoader::getFileLoaderInstance
FilesLoader::getFileLoaders protected function Returns an array of file loaders for the given file paths.
FilesLoader::getTimesCalled public function
FilesLoader::__construct public function Creates a new loader. Overrides FilesLoader::__construct
LoaderChain::$loaders protected property
LoaderChain::loadClassMetadata public function Loads validation metadata into a {@link ClassMetadata} instance. Overrides LoaderInterface::loadClassMetadata