Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / league / container / src / Argument / ArgumentResolverInterface.php
diff --git a/vendor/league/container/src/Argument/ArgumentResolverInterface.php b/vendor/league/container/src/Argument/ArgumentResolverInterface.php
new file mode 100644 (file)
index 0000000..2691d59
--- /dev/null
@@ -0,0 +1,26 @@
+<?php
+
+namespace League\Container\Argument;
+
+use League\Container\ImmutableContainerAwareInterface;
+use ReflectionFunctionAbstract;
+
+interface ArgumentResolverInterface extends ImmutableContainerAwareInterface
+{
+    /**
+     * Resolve an array of arguments to their concrete implementations.
+     *
+     * @param  array $arguments
+     * @return array
+     */
+    public function resolveArguments(array $arguments);
+
+    /**
+     * Resolves the correct arguments to be passed to a method.
+     *
+     * @param  \ReflectionFunctionAbstract $method
+     * @param  array                       $args
+     * @return array
+     */
+    public function reflectArguments(ReflectionFunctionAbstract $method, array $args = []);
+}