Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / robo / src / Task / Bower / loadTasks.php
diff --git a/vendor/consolidation/robo/src/Task/Bower/loadTasks.php b/vendor/consolidation/robo/src/Task/Bower/loadTasks.php
new file mode 100644 (file)
index 0000000..6e33f8a
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+namespace Robo\Task\Bower;
+
+trait loadTasks
+{
+    /**
+     * @param null|string $pathToBower
+     *
+     * @return Install
+     */
+    protected function taskBowerInstall($pathToBower = null)
+    {
+        return $this->task(Install::class, $pathToBower);
+    }
+
+    /**
+     * @param null|string $pathToBower
+     *
+     * @return Update
+     */
+    protected function taskBowerUpdate($pathToBower = null)
+    {
+        return $this->task(Update::class, $pathToBower);
+    }
+}