Version 1
[yaffs-website] / vendor / drush / drush / tests / resources / modules / d8 / woot / src / Controller / WootController.php
diff --git a/vendor/drush/drush/tests/resources/modules/d8/woot/src/Controller/WootController.php b/vendor/drush/drush/tests/resources/modules/d8/woot/src/Controller/WootController.php
new file mode 100644 (file)
index 0000000..4f9234d
--- /dev/null
@@ -0,0 +1,31 @@
+<?php
+
+/**
+ * @file
+ * Contains Drupal\woot\Controller\WootController.
+ */
+
+namespace Drupal\woot\Controller;
+
+use Drupal\Core\Controller\ControllerBase;
+
+/**
+ * Class WootController.
+ *
+ * @package Drupal\woot\Controller
+ */
+class WootController extends ControllerBase {
+  /**
+   * Woot.
+   *
+   * @return string
+   *   Return Hello string.
+   */
+  public function woot() {
+    return [
+        '#type' => 'markup',
+        '#markup' => $this->t('Woot!')
+    ];
+  }
+
+}