Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / dependency-injection / Tests / Fixtures / config / php7.php
diff --git a/vendor/symfony/dependency-injection/Tests/Fixtures/config/php7.php b/vendor/symfony/dependency-injection/Tests/Fixtures/config/php7.php
new file mode 100644 (file)
index 0000000..7711624
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+
+namespace Symfony\Component\DependencyInjection\Loader\Configurator;
+
+use Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Foo;
+
+return function (ContainerConfigurator $c) {
+    $c->parameters()
+        ('foo', 'Foo')
+        ('bar', 'Bar')
+    ;
+    $c->services()
+        (Foo::class)
+            ->arg('$bar', ref('bar'))
+            ->public()
+        ('bar', Foo::class)
+            ->call('setFoo')
+    ;
+};