Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / grasmash / expander / src / Stringifier.php
diff --git a/vendor/grasmash/expander/src/Stringifier.php b/vendor/grasmash/expander/src/Stringifier.php
new file mode 100644 (file)
index 0000000..7937b31
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+namespace Grasmash\Expander;
+
+/**
+ * Class Stringifier
+ * @package Grasmash\Expander
+ */
+class Stringifier implements StringifierInterface
+{
+    /**
+     * Converts array to string.
+     *
+     * @param array $array
+     *   The array to convert.
+     *
+     * @return string
+     *   The resultant string.
+     */
+    public static function stringifyArray(array $array)
+    {
+        return implode(',', $array);
+    }
+}