Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / league / container / src / Definition / DefinitionInterface.php
diff --git a/vendor/league/container/src/Definition/DefinitionInterface.php b/vendor/league/container/src/Definition/DefinitionInterface.php
new file mode 100644 (file)
index 0000000..8a4bfdf
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+
+namespace League\Container\Definition;
+
+interface DefinitionInterface
+{
+    /**
+     * Handle instantiation and manipulation of value and return.
+     *
+     * @param  array $args
+     * @return mixed
+     */
+    public function build(array $args = []);
+
+    /**
+     * Add an argument to be injected.
+     *
+     * @param  mixed $arg
+     * @return $this
+     */
+    public function withArgument($arg);
+
+    /**
+     * Add multiple arguments to be injected.
+     *
+     * @param  array $args
+     * @return $this
+     */
+    public function withArguments(array $args);
+}