Initial Drupal 11 with DDEV setup
This commit is contained in:
36
vendor/consolidation/robo/src/Task/Docker/Result.php
vendored
Normal file
36
vendor/consolidation/robo/src/Task/Docker/Result.php
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Robo\Task\Docker;
|
||||
|
||||
class Result extends \Robo\Result
|
||||
{
|
||||
|
||||
/**
|
||||
* Do not print result, as it was already printed
|
||||
*/
|
||||
protected function printResult()
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return null|string
|
||||
*/
|
||||
public function getCid()
|
||||
{
|
||||
if (isset($this['cid'])) {
|
||||
return $this['cid'];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return null|string
|
||||
*/
|
||||
public function getContainerName()
|
||||
{
|
||||
if (isset($this['name'])) {
|
||||
return $this['name'];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user