Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / consolidation / robo / src / Task / Docker / Remove.php
1 <?php
2 namespace Robo\Task\Docker;
3
4 /**
5  * Remove docker container
6  *
7  * ```php
8  * <?php
9  * $this->taskDockerRemove($container)
10  *      ->run();
11  * ?>
12  * ```
13  *
14  */
15 class Remove extends Base
16 {
17     /**
18      * @param string $container
19      */
20     public function __construct($container)
21     {
22         $this->command = "docker rm $container ";
23     }
24
25     /**
26      * {@inheritdoc}
27      */
28     public function getCommand()
29     {
30         return $this->command . ' ' . $this->arguments;
31     }
32 }