Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / drush / drush / tests / resources / global-includes / FoobazCommands.php
diff --git a/vendor/drush/drush/tests/resources/global-includes/FoobazCommands.php b/vendor/drush/drush/tests/resources/global-includes/FoobazCommands.php
new file mode 100644 (file)
index 0000000..e3f8f83
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+namespace Drush;
+
+use Consolidation\OutputFormatters\StructuredData\RowsOfFields;
+
+/**
+ * Drush will also find global commandfiles that are immediately
+ * inside the location specified via --include.
+ */
+class FoobazCommands
+{
+    /**
+     * Do nearly nothing.
+     *
+     * @command foobaz
+     */
+    public function foobaz()
+    {
+        return 'bar';
+    }
+}