protected function YamlFileLoaderTest::setUp

Same name in this branch
  1. 8.x drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Loader/YamlFileLoaderTest.php \Symfony\Component\Routing\Tests\Loader\YamlFileLoaderTest::setUp()
  2. 8.x drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Loader/YamlFileLoaderTest.php \Symfony\Component\DependencyInjection\Tests\Loader\YamlFileLoaderTest::setUp()
  3. 8.x drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Mapping/Loader/YamlFileLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\YamlFileLoaderTest::setUp()

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/Mapping/Loader/YamlFileLoaderTest.php, line 26

Class

YamlFileLoaderTest

Namespace

Symfony\Component\Validator\Tests\Mapping\Loader

Code

protected function setUp() {
  if (!class_exists('Symfony\\Component\\Yaml\\Yaml')) {
    $this
      ->markTestSkipped('The "Yaml" component is not available');
  }
}