Initial commit.

This commit is contained in:
Travis Tomka
2017-03-13 12:52:47 -06:00
commit 75264c6c28
9 changed files with 392 additions and 0 deletions

25
src/Task/loadTasks.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
namespace Droath\RoboDockerCompose\Task;
/**
* Load docker compose tasks.
*/
trait loadTasks
{
/**
* Docker compose up task.
*/
protected function taskDockerComposeUp($pathToDockerCompose = null)
{
return $this->task(Up::class, $pathToDockerCompose);
}
/**
* Docker compose up task.
*/
protected function taskDockerComposeDown($pathToDockerCompose = null)
{
return $this->task(Down::class, $pathToDockerCompose);
}
}