Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / league / container / src / Argument / RawArgument.php
diff --git a/vendor/league/container/src/Argument/RawArgument.php b/vendor/league/container/src/Argument/RawArgument.php
new file mode 100644 (file)
index 0000000..a52e492
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+namespace League\Container\Argument;
+
+class RawArgument implements RawArgumentInterface
+{
+    /**
+     * @var mixed
+     */
+    protected $value;
+
+    /**
+     * {@inheritdoc}
+     */
+    public function __construct($value)
+    {
+        $this->value = $value;
+    }
+
+    /**
+     * {@inheritdoc}
+     */
+    public function getValue()
+    {
+        return $this->value;
+    }
+}