You are here

public function FilesLoaderTest::getFilesLoader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Mapping/Loader/FilesLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\FilesLoaderTest::getFilesLoader()
2 calls to FilesLoaderTest::getFilesLoader()
FilesLoaderTest::testCallsActualFileLoaderForMetadata in vendor/symfony/validator/Tests/Mapping/Loader/FilesLoaderTest.php
FilesLoaderTest::testCallsGetFileLoaderInstanceForeachPath in vendor/symfony/validator/Tests/Mapping/Loader/FilesLoaderTest.php

File

vendor/symfony/validator/Tests/Mapping/Loader/FilesLoaderTest.php, line 34

Class

FilesLoaderTest

Namespace

Symfony\Component\Validator\Tests\Mapping\Loader

Code

public function getFilesLoader(LoaderInterface $loader) {
  return $this
    ->getMockForAbstractClass('Symfony\\Component\\Validator\\Tests\\Fixtures\\FilesLoader', array(
    array(
      __DIR__ . '/constraint-mapping.xml',
      __DIR__ . '/constraint-mapping.yaml',
      __DIR__ . '/constraint-mapping.test',
      __DIR__ . '/constraint-mapping.txt',
    ),
    $loader,
  ));
}