Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / league / container / src / Inflector / InflectorAggregateInterface.php
diff --git a/vendor/league/container/src/Inflector/InflectorAggregateInterface.php b/vendor/league/container/src/Inflector/InflectorAggregateInterface.php
new file mode 100644 (file)
index 0000000..8266bc4
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+
+namespace League\Container\Inflector;
+
+use League\Container\ImmutableContainerAwareInterface;
+
+interface InflectorAggregateInterface extends ImmutableContainerAwareInterface
+{
+    /**
+     * Add an inflector to the aggregate.
+     *
+     * @param  string   $type
+     * @param  callable $callback
+     * @return \League\Container\Inflector\Inflector
+     */
+    public function add($type, callable $callback = null);
+
+    /**
+     * Applies all inflectors to an object.
+     *
+     * @param  object $object
+     * @return object
+     */
+    public function inflect($object);
+}