Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / dependency-injection / Tests / Fixtures / config / child.php
diff --git a/vendor/symfony/dependency-injection/Tests/Fixtures/config/child.php b/vendor/symfony/dependency-injection/Tests/Fixtures/config/child.php
new file mode 100644 (file)
index 0000000..6fd8448
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+
+namespace Symfony\Component\DependencyInjection\Loader\Configurator;
+
+use App\BarService;
+
+return function (ContainerConfigurator $c) {
+    $c->services()
+        ->set('bar', 'Class1')
+        ->set(BarService::class)
+            ->abstract(true)
+            ->lazy()
+        ->set('foo')
+            ->parent(BarService::class)
+            ->decorate('bar', 'b', 1)
+            ->args(array(ref('b')))
+            ->class('Class2')
+            ->file('file.php')
+            ->parent('bar')
+            ->parent(BarService::class)
+    ;
+};