Files
robo-docker-compose/src/Task/loadTasks.php
2017-03-13 12:52:47 -06:00

26 lines
496 B
PHP

<?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);
}
}