Version 1
[yaffs-website] / vendor / drush / drush / tests / resources / global-includes / Commands / FoobarCommands.php
diff --git a/vendor/drush/drush/tests/resources/global-includes/Commands/FoobarCommands.php b/vendor/drush/drush/tests/resources/global-includes/Commands/FoobarCommands.php
new file mode 100644 (file)
index 0000000..0e934df
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+namespace Drush\Commands;
+
+use Consolidation\OutputFormatters\StructuredData\RowsOfFields;
+
+/**
+ * For commands that are 'global', Drush expects to find them inside
+ * the 'Commands' folder of a location specified via --include.
+ */
+class FoobarCommands
+{
+    /**
+     * Do nearly nothing.
+     *
+     * @command foobar
+     */
+    public function foobar()
+    {
+        return 'baz';
+    }
+}