Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / league / container / src / Definition / ClassDefinitionInterface.php
diff --git a/vendor/league/container/src/Definition/ClassDefinitionInterface.php b/vendor/league/container/src/Definition/ClassDefinitionInterface.php
new file mode 100644 (file)
index 0000000..9f7e0b3
--- /dev/null
@@ -0,0 +1,23 @@
+<?php
+
+namespace League\Container\Definition;
+
+interface ClassDefinitionInterface extends DefinitionInterface
+{
+    /**
+     * Add a method to be invoked
+     *
+     * @param  string $method
+     * @param  array  $args
+     * @return $this
+     */
+    public function withMethodCall($method, array $args = []);
+
+    /**
+     * Add multiple methods to be invoked
+     *
+     * @param  array $methods
+     * @return $this
+     */
+    public function withMethodCalls(array $methods = []);
+}