You are here

public function XmlDumperTest::provideDecoratedServicesData in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/Tests/Dumper/XmlDumperTest.php \Symfony\Component\DependencyInjection\Tests\Dumper\XmlDumperTest::provideDecoratedServicesData()

File

vendor/symfony/dependency-injection/Tests/Dumper/XmlDumperTest.php, line 132

Class

XmlDumperTest

Namespace

Symfony\Component\DependencyInjection\Tests\Dumper

Code

public function provideDecoratedServicesData() {
  $fixturesPath = realpath(__DIR__ . '/../Fixtures/');
  return array(
    array(
      "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<container xmlns=\"http://symfony.com/schema/dic/services\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd\">\n  <services>\n    <service id=\"foo\" class=\"FooClass\\Foo\" decorates=\"bar\" decoration-inner-name=\"bar.woozy\"/>\n  </services>\n</container>\n",
      include $fixturesPath . '/containers/container15.php',
    ),
    array(
      "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<container xmlns=\"http://symfony.com/schema/dic/services\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd\">\n  <services>\n    <service id=\"foo\" class=\"FooClass\\Foo\" decorates=\"bar\"/>\n  </services>\n</container>\n",
      include $fixturesPath . '/containers/container16.php',
    ),
  );
}