Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / consolidation / robo / src / Task / Composer / loadTasks.php
diff --git a/vendor/consolidation/robo/src/Task/Composer/loadTasks.php b/vendor/consolidation/robo/src/Task/Composer/loadTasks.php
new file mode 100644 (file)
index 0000000..6b074ba
--- /dev/null
@@ -0,0 +1,95 @@
+<?php
+namespace Robo\Task\Composer;
+
+trait loadTasks
+{
+    /**
+     * @param null|string $pathToComposer
+     *
+     * @return Install
+     */
+    protected function taskComposerInstall($pathToComposer = null)
+    {
+        return $this->task(Install::class, $pathToComposer);
+    }
+
+    /**
+     * @param null|string $pathToComposer
+     *
+     * @return Update
+     */
+    protected function taskComposerUpdate($pathToComposer = null)
+    {
+        return $this->task(Update::class, $pathToComposer);
+    }
+
+    /**
+     * @param null|string $pathToComposer
+     *
+     * @return DumpAutoload
+     */
+    protected function taskComposerDumpAutoload($pathToComposer = null)
+    {
+        return $this->task(DumpAutoload::class, $pathToComposer);
+    }
+
+    /**
+     * @param null|string $pathToComposer
+     *
+     * @return Init
+     */
+    protected function taskComposerInit($pathToComposer = null)
+    {
+        return $this->task(Init::class, $pathToComposer);
+    }
+
+    /**
+     * @param null|string $pathToComposer
+     *
+     * @return Init
+     */
+    protected function taskComposerConfig($pathToComposer = null)
+    {
+        return $this->task(Config::class, $pathToComposer);
+    }
+
+    /**
+     * @param null|string $pathToComposer
+     *
+     * @return Validate
+     */
+    protected function taskComposerValidate($pathToComposer = null)
+    {
+        return $this->task(Validate::class, $pathToComposer);
+    }
+
+    /**
+     * @param null|string $pathToComposer
+     *
+     * @return Remove
+     */
+    protected function taskComposerRemove($pathToComposer = null)
+    {
+        return $this->task(Remove::class, $pathToComposer);
+    }
+
+    /**
+     * @param null|string $pathToComposer
+     *
+     * @return Remove
+     */
+    protected function taskComposerRequire($pathToComposer = null)
+    {
+        return $this->task(RequireDependency::class, $pathToComposer);
+    }
+
+    /**
+     * @param null|string $pathToComposer
+     *
+     * @return Remove
+     */
+    protected function taskComposerCreateProject($pathToComposer = null)
+    {
+        return $this->task(CreateProject::class, $pathToComposer);
+    }
+}