0533159a8744af25af9b3fee715944842edd2860
[yaffs-website] / vendor / consolidation / robo / src / Task / Docker / Result.php
1 <?php
2 namespace Robo\Task\Docker;
3
4 class Result extends \Robo\Result
5 {
6
7     /**
8      * Do not print result, as it was already printed
9      */
10     protected function printResult()
11     {
12     }
13
14     /**
15      * @return null|string
16      */
17     public function getCid()
18     {
19         if (isset($this['cid'])) {
20             return $this['cid'];
21         }
22         return null;
23     }
24
25     /**
26      * @return null|string
27      */
28     public function getContainerName()
29     {
30         if (isset($this['name'])) {
31             return $this['name'];
32         }
33         return null;
34     }
35 }