2 namespace Robo\Task\Docker;
5 * Stops Docker container
9 * $this->taskDockerStop($cidOrResult)
14 class Stop extends Base
19 protected $command = "docker stop";
27 * @param string|\Robo\Task\Docker\Result $cidOrResult
29 public function __construct($cidOrResult)
31 $this->cid = $cidOrResult instanceof Result ? $cidOrResult->getCid() : $cidOrResult;
37 public function getCommand()
39 return $this->command . ' ' . $this->arguments . ' ' . $this->cid;