Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / league / container / src / ImmutableContainerAwareInterface.php
diff --git a/vendor/league/container/src/ImmutableContainerAwareInterface.php b/vendor/league/container/src/ImmutableContainerAwareInterface.php
new file mode 100644 (file)
index 0000000..fc547e0
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+
+namespace League\Container;
+
+use Interop\Container\ContainerInterface as InteropContainerInterface;
+
+interface ImmutableContainerAwareInterface
+{
+    /**
+     * Set a container
+     *
+     * @param \Interop\Container\ContainerInterface $container
+     */
+    public function setContainer(InteropContainerInterface $container);
+
+    /**
+     * Get the container
+     *
+     * @return \League\Container\ImmutableContainerInterface
+     */
+    public function getContainer();
+}