Platformsh\Cli\Util\RelationshipsUtil::__construct PHP Method

__construct() public method

public __construct ( Symfony\Component\Console\Output\OutputInterface $output, Platformsh\Cli\Helper\ShellHelperInterface $shellHelper = null, CliConfig $config = null )
$output Symfony\Component\Console\Output\OutputInterface
$shellHelper Platformsh\Cli\Helper\ShellHelperInterface
$config Platformsh\Cli\CliConfig
    public function __construct(OutputInterface $output, ShellHelperInterface $shellHelper = null, CliConfig $config = null)
    {
        $this->output = $output;
        $this->shellHelper = $shellHelper ?: new ShellHelper($output);
        $this->config = $config ?: new CliConfig();
    }