Version 1
[yaffs-website] / vendor / drupal / console / src / Extension / Discovery.php
diff --git a/vendor/drupal/console/src/Extension/Discovery.php b/vendor/drupal/console/src/Extension/Discovery.php
new file mode 100644 (file)
index 0000000..cc66a80
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\Console\Extension\Discovery.
+ */
+
+namespace Drupal\Console\Extension;
+
+use Drupal\Core\Extension\ExtensionDiscovery;
+
+/*
+ * @see Remove DrupalExtensionDiscovery subclass once
+ * https://www.drupal.org/node/2503927 is fixed.
+ */
+class Discovery extends ExtensionDiscovery
+{
+    /**
+     * Reset internal static cache.
+     */
+    public static function reset()
+    {
+        static::$files = [];
+    }
+}